Commit Graph

87 Commits

Author SHA1 Message Date
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
Evan You a3cc970030 feat(ssr/suspense): suspense hydration
In order to support hydration of async components, server-rendered
fragments must be explicitly marked with comment nodes.
2020-03-13 13:05:05 -04:00
Evan You 206640a2d8 fix(build): remove __RUNTIME_COMPILE__ flag
behavior should be consistent in all builds. fix #817
2020-03-11 16:39:26 -04:00
Evan You bcb2a9b4a6 build: make @vue/shared public
This avoids it being inlined multiple times in esm bundler builds
2020-02-29 22:04:42 -05:00
Evan You 8449a9727c feat(compiler-core): switch to @babel/parser for expression parsing
This enables default support for parsing bigInt, optional chaining
    and nullish coalescing, and also adds the `expressionPlugins`
    compiler option for enabling additional parsing plugins listed at
    https://babeljs.io/docs/en/next/babel-parser#plugins.
2020-02-27 16:53:51 -05:00
basvanmeurs 8d817bb446
build: use buildOption to determine runtime compile build (#742)
This makes it possible to create a separate package that uses runtime compilation.
2020-02-19 09:50:24 -05:00
Evan You 77103e1fd7 types: fix tsx dts tests 2020-02-15 21:48:45 -05:00
Evan You 32d6a46474 build: avoid runtime wildcard import in global build 2020-02-13 18:50:36 -05:00
Evan You 9cfbab0686 build: reduce compiler minified size 2020-02-06 17:45:46 -05:00
Evan You fd470e0b1a build: drop compiler error emit code in browser production build 2020-02-05 14:21:09 -05:00
Evan You bc07e95ca8 fix(ssr): avoid hard-coded ssr checks in cjs builds 2020-01-29 09:49:17 -05:00
Evan You 78beed2574 build: support source map in build and dev scripts 2020-01-28 10:28:48 -05:00
Evan You cee36ad028 wip(ssr): render real components 2020-01-27 16:00:17 -05:00
Evan You c3e1c812e3 build: warn invalid format in build script 2019-12-22 11:56:09 -05:00
Evan You 5cf7523787 build: export runtime-only build for bundlers by default in main vue package 2019-12-17 18:24:01 -05:00