Commit Graph

4982 Commits

Author SHA1 Message Date
Bjorn Lu
e92d025ced
fix(css): handle environment with browser globals (#11079) 2022-11-29 10:03:06 +01:00
Bjorn Lu
8b3d656b1d
fix(config)!: support development build (#11045) 2022-11-29 07:32:18 +01:00
Bjorn Lu
3090564616
feat(ssr)!: remove dedupe and mode support for CJS (#11101) 2022-11-29 00:13:21 +01:00
Bjorn Lu
2a4ffb78d6
chore: allow breaking commit message (#11102) 2022-11-29 00:04:23 +01:00
renovate[bot]
3fb27b8874
chore(deps): update dependency @rollup/plugin-typescript to v10 (#11092) 2022-11-28 22:17:17 +01:00
Bjorn Lu
fc0d9e35f7
fix(importGlob): warn on default import css (#11103) 2022-11-28 22:15:29 +01:00
julienv3
3e0cd3d98e
fix: import.meta.env and process.env undefined variable replacement (fix #8663) (#10958)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
fix https://github.com/vitejs/vite/issues/8663
2022-11-28 22:03:34 +01:00
gtmnayan
ac2cfd6eac
fix: glob import parsing (#10949) (#11056)
closes https://github.com/vitejs/vite/issues/10949
closes https://github.com/vitejs/vite/pull/11051
2022-11-28 22:00:50 +01:00
Lucas Garron
3cc65d701d
feat!: support safari14 by default for wider ES2020 compatibility (#9063)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-11-28 21:57:06 +01:00
Bjorn Lu
01dee1bc71
feat(css): deprecate css default export (#11094)
Co-authored-by: Manu MA <manu.mtza@gmail.com>
2022-11-28 15:34:13 +01:00
renovate[bot]
073a4bfe26
fix(deps): update all non-major dependencies (#11091) 2022-11-28 13:12:45 +01:00
zz
d76db0cae6
docs: remove extra space (#11087) 2022-11-27 13:33:50 +01:00
Arnaud Barré
4fb7ad0e13
feat(optimizer): support patch-package (#10286) 2022-11-25 19:57:22 +01:00
翠 / green
b4da791bd5
test: extend react-env timeout (#11078) 2022-11-25 17:23:43 +01:00
sun0day
9d0b9d834b
fix(plugin-vue): invalidate script module cache when it changed in hot update (#11059) 2022-11-25 16:53:50 +01:00
翠 / green
72f63c5b51
test: reduce hmr test flakiness (#11075) 2022-11-25 16:49:08 +01:00
翠 / green
c45c984ce8
test: reduce ssr-react playground flakiness (#11077) 2022-11-25 16:45:52 +01:00
翠 / green
615c768907
test: reduce ssr-vue playground flakiness (#11076) 2022-11-25 16:45:22 +01:00
Ctibor Laky
e5a2e80b8a
docs: adds CLI section in guide (#11025) 2022-11-25 16:41:05 +01:00
renovate[bot]
6c5eceeeb8
chore(deps): update dependency @rollup/pluginutils to v5 (#11071)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2022-11-25 15:18:35 +00:00
Bjorn Lu
793255d0ba
fix: export preprocessCSS in CJS (#11067) 2022-11-25 07:54:52 +01:00
翠 / green
7b7206951f
fix(worker): disable build reporter plugin when bundling worker (#11058) 2022-11-24 16:43:43 +01:00
翠 / green
88b001bc08
fix: preserve default export from externalized packages (fixes #10258) (#10406)
fixes https://github.com/vitejs/vite/issues/10258
2022-11-24 14:47:18 +01:00
Bjorn Lu
d6b4ee58d6
docs(api-hmr): update hot.prune docs (#11047) 2022-11-24 00:00:35 +01:00
Arnaud Barré
7d24b5f566
feat(build): cleaner logs output (#10895) 2022-11-22 20:46:07 +01:00
Arnaud Barré
f777b55a63
refactor(client): simplify fetchUpdate code (#11004) 2022-11-22 19:40:28 +01:00
Arnaud Barré
f40c18dfe0
chore(client): expose hot.prune API (#11016) 2022-11-22 15:40:46 +01:00
Jevon
d413848afc
fix(plugin-vue): support scss/sass/less... hmr on custom template languages (fix #10677) (#10844) 2022-11-22 22:29:56 +08:00
Ben McCann
8148af7b80
fix!: make NODE_ENV more predictable (#10996) 2022-11-22 22:25:10 +08:00
Bence Szalai
3fa96f6a7d
fix: missing js sourcemaps with rewritten imports broke debugging (#7767) (#9476)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-11-22 12:48:20 +00:00
patak
07dc223945 release: plugin-vue@4.0.0-alpha.1 2022-11-22 12:01:29 +01:00
patak
95bc2825ac release: v4.0.0-alpha.5 2022-11-22 12:00:42 +01:00
Candy
752740c499
fix(html): transform relative path with long base in /index.html (#10990)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
fix https://github.com/vitejs/vite/issues/10989
2022-11-22 11:50:03 +01:00
Haoqun Jiang
fae0e234b9
feat: dedupe the vue in client bundle by default (#11032)
Fixes https://github.com/vitejs/vite/issues/2443
Fixes https://github.com/vitejs/vite/issues/7454
2022-11-22 10:17:09 +01:00
Arnaud Barré
b57acfa611
feat(build): Use kB in build reporter (#10982) 2022-11-22 10:01:28 +01:00
Bjorn Lu
1b1f63345e
test: update import assertion config (#11028) 2022-11-22 05:04:04 +00:00
pengbo
934a304511
chore: proxy bypass do nothing with object result (#10209) 2022-11-21 14:08:04 +01:00
renovate[bot]
0e271ffe03
chore(deps): update dependency @rollup/plugin-typescript to v9 (#11007) 2022-11-21 09:31:38 +01:00
renovate[bot]
96f2e98f6a
chore(deps): update all non-major dependencies (#11006) 2022-11-21 09:30:22 +01:00
Ben McCann
a03860f132
docs: update appType docs (#11003) 2022-11-20 17:57:12 +01:00
sun0day
61165f0d8e
fix(mpa): support mpa fallback (#10985)
fixes https://github.com/vitejs/vite/issues/10966
2022-11-20 13:00:35 +01:00
Jason Quense
892916d040
feat(css): upgrade postcss-modules (#10987) 2022-11-19 16:42:28 +01:00
Pavel Moiseenko
8158ece72b
chore(readme): add link to LICENSE (#10983) 2022-11-18 14:43:56 +01:00
Arnaud Barré
0d734732da
feat(hmr): invalidate message (#10946) 2022-11-17 22:53:06 +01:00
patak
d9779c7fae release: v4.0.0-alpha.4 2022-11-17 11:45:31 +01:00
patak
cc2adb3925
feat: align default chunk and asset file names with rollup (#10927) 2022-11-17 11:35:50 +01:00
翠 / green
9f54c6a7bc
refactor: import version from rollup (#10964) 2022-11-17 10:44:58 +01:00
sun0day
411cc3dc7f
test: improve node/build.ts ut coverage (#10786)
test: improve `node/build.ts` ut coverage - statements 48.32% branches 74.35% functions 26.82% lines 48.32%
2022-11-17 07:54:21 +01:00
Bjorn Lu
02c334a706
chore: use isArray to check array (#10953) 2022-11-16 14:11:09 +00:00
Em Zhan
34db08bb8a
fix: make addWatchFile() work (fix #7024) (#9723)
Co-authored-by: Matt Jones <mattjones701@gmail.com>
2022-11-16 14:36:09 +01:00