Evan You
2424768808
build: make compiler-sfc global build work
4 years ago
Evan You
414c265dd9
chore: suppress rollup plugin replace warning
4 years ago
GU Yiling
20a704fc04
fix(build): enable safari10 option for terser ( #2472 )
fix #2470
5 years ago
Evan You
8ac2241b22
wip: more consistent compiler-sfc usage + inline mode for ssr
5 years ago
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.
5 years ago
Evan You
edcbf99480
build(deps): bump build deps
5 years ago
Evan You
36972c20b5
feat(compiler-sfc): add transformAssetUrlsBase option
5 years ago
Evan You
bd0f7da2c6
build: add browser builds for @vue/compiler-sfc
5 years ago
Evan You
e954ba21f0
feat(build): provide more specific warnings for runtime compilation
close #1004
5 years ago
Evan You
19223f5462
build: remove __BUNLDER__ flag so that HMR is available for all builds
5 years ago
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
5 years ago
Evan You
4e8d459831
build: tweak flags
5 years ago
Evan You
4126a9dd51
build: add runtime-global build for vue
5 years ago
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.
5 years ago
Evan You
206640a2d8
fix(build): remove __RUNTIME_COMPILE__ flag
behavior should be consistent in all builds. fix #817
5 years ago
Evan You
bcb2a9b4a6
build: make @vue/shared public
This avoids it being inlined multiple times in esm bundler builds
5 years ago
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 .
6 years ago
basvanmeurs
8d817bb446
build: use buildOption to determine runtime compile build ( #742 )
This makes it possible to create a separate package that uses runtime compilation.
6 years ago
Evan You
77103e1fd7
types: fix tsx dts tests
6 years ago
Evan You
32d6a46474
build: avoid runtime wildcard import in global build
6 years ago
Evan You
9cfbab0686
build: reduce compiler minified size
6 years ago
Evan You
fd470e0b1a
build: drop compiler error emit code in browser production build
6 years ago
Evan You
bc07e95ca8
fix(ssr): avoid hard-coded ssr checks in cjs builds
6 years ago
Evan You
78beed2574
build: support source map in build and dev scripts
6 years ago
Evan You
cee36ad028
wip(ssr): render real components
6 years ago
Evan You
c3e1c812e3
build: warn invalid format in build script
6 years ago
Evan You
5cf7523787
build: export runtime-only build for bundlers by default in main vue package
6 years ago
Evan You
9550302df4
build: esm-bunlder builds should be considered browser builds
6 years ago
Evan You
35858cec8c
build: adjust global names + allow inline overrides of build flags
6 years ago
Evan You
efe39db023
feat(runtime-core): hot module replacement
6 years ago
Evan You
136ab753b3
build: adjust esm formats
6 years ago
Evan You
cd5ba7cfcc
build: remove lerna
6 years ago
Evan You
7aca27392f
build: no need for alias in rollup config
6 years ago
Yida
f87dbea1f8
build(deps-dev): use rollup plugins from the new official repo ( #468 )
6 years ago
Evan You
7031e6a07a
feat: (wip) setup compiler-sfc
6 years ago
Evan You
f8e7fadaae
build: disable live external bindings for cjs build
6 years ago
Evan You
dfc7c0f12a
refactor: adjust internal vnode types + more dts tests
6 years ago
Evan You
300a705221
refactor: use __TEST__ flag
6 years ago
Stanislav Lashmanov
58fcd15000
fix: add missing compiler to the full build on Windows ( #333 )
6 years ago
Evan You
260eab85ff
build: fix isBundlerESMBuild check in rollup.js
6 years ago
Evan You
bd0bc3b3e6
build: fix runtimeCompile global injection
6 years ago
Dmitry Sharshakov
fd209f5a66
feat(core): export version ( #254 )
6 years ago
Evan You
82b5978e9c
build: further shave off runtime compile only code
6 years ago
fisker Cheung
1baa19aea5
build: use `ES module` format `rollup.config.js` ( #259 )
6 years ago
二当家的
4f87d1d486
chore: typo isBunlderESMBuild in rollup.config.js ( #195 )
6 years ago
Yida
5bc18f46c6
chore: fix typo in rollup.config.js ( #122 )
6 years ago
Evan You
c4f9b6d592
test: fix import
6 years ago
Evan You
a0f442f1d4
workflow: include commit link in template explorer
6 years ago
Evan You
8d49b97cc3
build: include main vue package in aliases and tsconfig paths
6 years ago
Evan You
5047bc8dbe
workflow: basic template explorer
6 years ago