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
Evan You
9550302df4
build: esm-bunlder builds should be considered browser builds
2019-12-17 17:34:10 -05:00
Evan You
35858cec8c
build: adjust global names + allow inline overrides of build flags
2019-12-15 15:37:43 -05:00
Evan You
efe39db023
feat(runtime-core): hot module replacement
2019-12-12 21:09:47 -05:00
Evan You
136ab753b3
build: adjust esm formats
2019-12-10 22:14:02 -05:00
Evan You
cd5ba7cfcc
build: remove lerna
2019-12-10 18:24:59 -05:00
Evan You
7aca27392f
build: no need for alias in rollup config
2019-12-10 17:50:16 -05:00
Yida
f87dbea1f8
build(deps-dev): use rollup plugins from the new official repo ( #468 )
2019-11-19 09:02:46 -05:00
Evan You
7031e6a07a
feat: (wip) setup compiler-sfc
2019-11-06 21:58:15 -05:00
Evan You
f8e7fadaae
build: disable live external bindings for cjs build
2019-11-06 15:47:01 -05:00
Evan You
dfc7c0f12a
refactor: adjust internal vnode types + more dts tests
2019-11-04 18:38:55 -05:00
Evan You
300a705221
refactor: use __TEST__ flag
2019-11-04 14:28:01 -05:00
Stanislav Lashmanov
58fcd15000
fix: add missing compiler to the full build on Windows ( #333 )
2019-10-18 13:57:13 -04:00
Evan You
260eab85ff
build: fix isBundlerESMBuild check in rollup.js
2019-10-15 22:34:14 -04:00
Evan You
bd0bc3b3e6
build: fix runtimeCompile global injection
2019-10-14 21:43:00 -04:00
Dmitry Sharshakov
fd209f5a66
feat(core): export version ( #254 )
2019-10-14 15:31:43 -04:00
Evan You
82b5978e9c
build: further shave off runtime compile only code
2019-10-14 01:08:00 -04:00
fisker Cheung
1baa19aea5
build: use ES module
format rollup.config.js
( #259 )
2019-10-13 23:17:36 -04:00