Commit Graph

101 Commits

Author SHA1 Message Date
Evan You b11dab99d1
chore: more descriptive eslint error messages for restricted syntax 2024-04-15 16:06:33 +08:00
Evan You b3bd3a210a build: disable reexportProtoFromExternal in rollup config 2024-02-26 09:53:59 +08:00
Evan You bceccf9e21 chore(build): rename __NODE_JS__ build flag to __CJS__ 2024-01-11 18:24:21 +08:00
Evan You d60a57542b build: add copyright and license banner
close #10054
2024-01-10 14:00:00 +08:00
三咲智子 Kevin Deng bfe6b459d3
style: update format & lint config (#9162)
Co-authored-by: 丶远方 <yangpanteng@gmail.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
Co-authored-by: Guo Xingjun <99574369+Plumbiu@users.noreply.github.com>
2023-12-26 19:39:47 +08:00
Divyansh Singh bc7698dbfe
feat(ssr): add `__VUE_PROD_HYDRATION_MISMATCH_DETAILS__` feature flag (#9550) 2023-12-08 16:41:15 +08:00
ZHAO Jin-Xiang 7218ab7496
chore: improve typing for scripts (#9709) 2023-11-30 14:17:51 +08:00
ZHAO Jin-Xiang fff7b864f4
feat: use enum to replace const enum (#9261)
close #1228
2023-11-29 12:24:50 +08:00
Evan You 1912af04e3 wip: entities parsing in browser 2023-11-25 16:18:29 +08:00
Evan You ec5b36c770 chore: replace chalk with picocolors 2023-10-20 10:23:18 +08:00
renovate[bot] c651d733a7
chore(deps): update build (major) (#9238)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
2023-09-20 11:01:34 -05:00
三咲智子 Kevin Deng 6d14fa88e8
fix(build): disable useDefineForClassFields in esbuild (#9252) 2023-09-19 23:13:39 +08:00
Evan You 8b7c04b18f fix(build): fix __DEV__ flag replacement edge case
close #8353
2023-05-18 16:00:35 +08:00
丶远方 003836f90e
fix(build): fix dev flag replacement in esm-builder builds (#8314)
close #8312
2023-05-17 08:57:19 +08:00
Evan You b16866d56b chore: update treeshaken deps list 2023-04-11 16:05:00 +08:00
Evan You 0587c70e9f build: bump rollup, remove cjs re-exports hack 2023-03-23 16:33:10 +08:00
Haoqun Jiang 650f5c26f4
build: fix canary bundling issues (#7907)
1. correct the rollup config after the package name changed
2. fix the same-day patch version bump of canary releases
2023-03-17 16:47:48 +08:00
Evan You 39cf4cd30b build: reuse const enum data between concurrent rollup builds 2023-02-06 09:35:08 +08:00
Evan You 5851eaa933
fix(build): fix dev flag replacement in esm-bundler builds 2023-02-05 13:26:01 +08:00
Evan You 20ea62da3c chore: use type: "module" 2023-02-03 18:12:56 +08:00
JayFate f2c46ed9cf
build(deps): upgrade rollup@2 to rollup@3 (#6990)
* build(deps): upgrade rollup@2 to rollup@3

Signed-off-by: JayFate <37610029@qq.com>

* build(rollup): move rollup.config.js to rollup.config.mjs

Signed-off-by: JayFate <37610029@qq.com>

Signed-off-by: JayFate <37610029@qq.com>
2022-11-13 22:48:52 -05:00
Evan You 3cfe5f9fc8 build: include ssrUtils in server-renderer browser build 2022-05-25 13:52:54 +08:00
Evan You cf55480163 build: target es2019/node 12 for node dist files
close #5957
2022-05-20 23:25:54 +08:00
Evan You cbeb9f2d78 build: output es2020 (target node 14+) for cjs/server builds 2022-05-17 10:50:40 +08:00
Evan You 3d80b15ca4 build: fix build script 2022-01-21 16:12:25 +08:00
Evan You 87c86e4cc2 refactor: ensure ssr branches are included in esm-bundler build 2021-09-23 15:02:19 -04:00
Evan You 471f66a1f6 build: expose compiler-sfc and server-renderer under main vue package + optimize package size 2021-09-21 10:26:08 -04:00
Evan You 22a9b3711c build: fix compat build exports (again) 2021-09-07 12:38:19 -04:00
Illya Klymov 7575733b8c
fix(build): build vue-compat in default exports mode (#4460) 2021-09-07 11:01:18 -04:00
Evan You 2217993897 build: pre-shim process in browser build of compiler-sfc 2021-09-05 17:19:49 -04:00
Evan You 84b24a71f0 chore: bump deps 2021-08-22 15:33:21 -04:00
Evan You f2fb8a51a9 build: fix compat build type treatment 2021-05-08 16:21:06 -04:00
Evan You b14de6c3f8 wip: fix compiler dep externalization 2021-05-05 11:05:53 -04:00
Evan You f6dee53270 wip: compat integration progress 2021-04-20 09:25:12 -04:00
Evan You 960e9deaed wip: vm.$listeners compat 2021-04-08 10:06:12 -04:00
Evan You 24850a99c6 wip: initial compat build setup 2021-04-07 16:19:24 -04:00
Evan You f76ddc5ac3 workflow: sfc playground 2021-03-28 01:35:45 -04:00
Evan You 2424768808 build: make compiler-sfc global build work 2021-03-27 12:33:52 -04:00
Evan You 414c265dd9 chore: suppress rollup plugin replace warning 2021-02-24 15:05:36 -05:00
GU Yiling 20a704fc04
fix(build): enable safari10 option for terser (#2472)
fix #2470
2020-12-02 14:23:13 -05:00
Evan You 8ac2241b22 wip: more consistent compiler-sfc usage + inline mode for ssr 2020-11-20 14:23:09 -05:00
Evan You 54727f9874 feat: provide ability to overwrite feature flags in esm-bundler builds
e.g. by replacing `__VUE_OPTIONS_API__` to `false` using webpack's
`DefinePlugin`, the final bundle will drop all code supporting the
options API.

This does not break existing usage, but requires the user to explicitly
configure the feature flags via bundlers to properly tree-shake the
disabled branches. As a result, users will see a console warning if
the flags have not been properly configured.
2020-07-20 21:51:30 -04:00
Evan You edcbf99480 build(deps): bump build deps 2020-06-16 12:09:20 -04:00
Evan You 36972c20b5 feat(compiler-sfc): add transformAssetUrlsBase option 2020-05-02 16:58:17 -04:00
Evan You bd0f7da2c6 build: add browser builds for @vue/compiler-sfc 2020-04-26 01:24:25 -04:00
Evan You e954ba21f0 feat(build): provide more specific warnings for runtime compilation
close #1004
2020-04-20 15:23:26 -04:00
Evan You 19223f5462 build: remove __BUNLDER__ flag so that HMR is available for all builds 2020-04-20 13:39:47 -04:00
Evan You 218e6e1667 build: adjust build formats
- Rename `esm` to `esm-browser`
- Add runtime-only build for `esm-browser`
- Add default CDN alias for jsdelivr
2020-04-19 18:43:21 -04:00
Evan You 4e8d459831 build: tweak flags 2020-03-24 17:57:27 -04:00
Evan You 4126a9dd51 build: add runtime-global build for vue 2020-03-23 15:09:29 -04:00