Commit Graph

110 Commits

Author SHA1 Message Date
Evan You
a49858f3ee
build: strip pure comments in minified builds 2024-11-14 23:33:58 +08:00
Evan You
40193696b3
chore(build): use /*@__PURE__*/ annotation consistently 2024-09-04 20:24:33 +08:00
Evan You
e9e08155bf
fix(build): revert entities to 4.5 to avoid runtime resolution errors
close #11603
2024-08-15 10:16:32 +08:00
Evan You
6a5b2098e1
workflow: move private packages to separate directory 2024-08-12 08:02:03 +08:00
Evan You
eaf5455d77
chore: Merge branch 'main' into minor 2024-08-07 18:25:58 +08:00
Evan You
ea190f24e4
chore(deps): upgrade to entities 5.0
close #11507
2024-08-05 14:14:52 +08:00
Evan You
b14cd9a68b
fix(build): enable SSR branches in esm-browser builds
This enables the logic necessary to pick up the correct current instance
when using esm-browser builds for in-browser SSR, and fixes the problem
of `getCurrentInstance()` returning null during SSR in the SFC playground.
2024-07-19 12:12:42 +08:00
Evan You
789675f65d
fix(build): use consistent minify options from previous terser config 2024-07-15 16:29:41 +08:00
Evan You
dadb3632a0
build: use swc minify for prod builds 2024-06-18 18:12:26 +08:00
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