Evan You
ec5b36c770
chore: replace chalk with picocolors
2 years ago
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>
2 years ago
三咲智子 Kevin Deng
6d14fa88e8
fix(build): disable useDefineForClassFields in esbuild ( #9252 )
2 years ago
Evan You
8b7c04b18f
fix(build): fix __DEV__ flag replacement edge case
close #8353
2 years ago
丶远方
003836f90e
fix(build): fix dev flag replacement in esm-builder builds ( #8314 )
close #8312
2 years ago
Evan You
b16866d56b
chore: update treeshaken deps list
2 years ago
Evan You
0587c70e9f
build: bump rollup, remove cjs re-exports hack
2 years ago
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
2 years ago
Evan You
39cf4cd30b
build: reuse const enum data between concurrent rollup builds
3 years ago
Evan You
5851eaa933
fix(build): fix dev flag replacement in esm-bundler builds
3 years ago
Evan You
20ea62da3c
chore: use type: "module"
3 years ago
Evan You
6213b73cd2
build: custom const enum processing
3 years ago
Evan You
53e3533b75
chore: bump deps
3 years ago
Evan You
40aa7d8040
build: refactor rollup config
3 years ago
Evan You
124373db50
wip: isolatedModules + use rollup-plugin-esbuild
3 years ago
Evan You
9381349f37
build: only enable esModule compat for cjs builds
3 years ago
Evan You
4b7036653e
fix(build): enforce __esModule interop for cjs builds
3 years ago
Evan You
ce064a172b
fix(build): fix cjs re-exports check for compat build
3 years ago
Evan You
fb6ff3e996
fix(build): ensure cjs re-exports can be properly detected when imported from esm
3 years ago
Evan You
6fdea68e96
build: suppress rollup external warnings
3 years ago
Evan You
9d5e30d911
build: bump jest, puppeteer and use official rollup terser plugin
3 years ago
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>
3 years ago
Evan You
3cfe5f9fc8
build: include ssrUtils in server-renderer browser build
3 years ago
Evan You
cf55480163
build: target es2019/node 12 for node dist files
close #5957
3 years ago
Evan You
cbeb9f2d78
build: output es2020 (target node 14+) for cjs/server builds
3 years ago
Evan You
3d80b15ca4
build: fix build script
4 years ago
Evan You
87c86e4cc2
refactor: ensure ssr branches are included in esm-bundler build
4 years ago
Evan You
471f66a1f6
build: expose compiler-sfc and server-renderer under main vue package + optimize package size
4 years ago
Evan You
22a9b3711c
build: fix compat build exports (again)
4 years ago
Illya Klymov
7575733b8c
fix(build): build vue-compat in default exports mode ( #4460 )
4 years ago
Evan You
2217993897
build: pre-shim process in browser build of compiler-sfc
4 years ago
Evan You
84b24a71f0
chore: bump deps
4 years ago
Evan You
f2fb8a51a9
build: fix compat build type treatment
4 years ago
Evan You
b14de6c3f8
wip: fix compiler dep externalization
4 years ago
Evan You
f6dee53270
wip: compat integration progress
4 years ago
Evan You
960e9deaed
wip: vm.$listeners compat
4 years ago
Evan You
24850a99c6
wip: initial compat build setup
4 years ago
Evan You
f76ddc5ac3
workflow: sfc playground
4 years ago
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