Commit Graph

6634 Commits

Author SHA1 Message Date
bluwy
ece9f720fd chore: port tests over
This port isn't the best. Vite builds are ran multiple times with different modules configuration. The ideal abstraction is to have unit tests instead and Vite should "trust" that it works, but this will do for now.

I also skipped lightningcss tests for now. Check css-modules-lightningcss.spec.ts for notes.
2024-03-21 16:35:55 +08:00
bluwy
0b13c294b6 Merge branch 'main' into feat/revamped-css-modules 2024-03-21 12:54:02 +08:00
bluwy
d44342859a release: v5.2.2 2024-03-20 21:15:32 +08:00
Bjorn Lu
e4d2d60117
fix(importAnalysis): skip encode in ssr (#16213) 2024-03-20 13:01:58 +00:00
patak
ee4d2bcfed release: v5.2.1 2024-03-20 13:35:40 +01:00
Bjorn Lu
0b2e40b1a0
fix: encode path uri only (#16212) 2024-03-20 13:33:54 +01:00
bluwy
e41d8cf095 release: create-vite@5.2.3 2024-03-20 17:39:04 +08:00
Leon Fong
0a56177272
docs: update volar name and remove takeover mode related docs (#16171)
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-03-20 09:36:20 +00:00
bluwy
e4572b8eae release: v5.2.0 2024-03-20 17:19:29 +08:00
Mark Dalgleish
ea480df56d
fix(create-vite): switch to default Remix template (#16203) 2024-03-19 23:06:34 +01:00
ferdisap
1a3b1d73d7
fix: update client.ts@cleanUrl to accomodate blob protocol (#16182)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-03-19 08:59:17 +01:00
Hiroki Osame
e00eb965f3 chore: squash from #16018 2024-03-18 17:33:29 +08:00
renovate[bot]
72104f6de5
chore(deps): update dependency vue-tsc to v2 (#16187)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 13:24:35 +08:00
renovate[bot]
842643d82b
chore(deps): update all non-major dependencies (#16186)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-03-18 13:23:16 +08:00
Bjorn Lu
de60f1e3d1
perf(transformRequest): fast-path watch and sourcemap handling (#16170) 2024-03-17 16:25:48 +01:00
Casey Carroll
50caf673f6
fix(assets): avoid splitting , inside query parameter of image URI in srcset property (#16081) 2024-03-17 15:35:04 +01:00
翠 / green
6f8a320665
docs: add @shikiji/vitepress-twoslash (#16168) 2024-03-15 09:24:38 +01:00
bluwy
20bf97d6a9 release: v5.2.0-beta.1 2024-03-14 20:58:29 +08:00
翠 / green
1574f3565d
docs: remove vue from the example when skipLibCheck needs to be enabled (#16162) 2024-03-14 13:56:16 +01:00
patak
98888439e0
feat: formalize waitForRequestsIdle (experimental) (#16135) 2024-03-14 13:52:09 +01:00
TAKAHASHI Shuuji
7970aa6ede
docs: fix a small typo in backend-integration.md (#16161) 2024-03-14 20:48:28 +09:00
Andrew Brown
90556ebaeb
docs: backend integration clarify tags to include in production HTML (#16086) 2024-03-14 20:09:07 +09:00
wChenonly
1645fc0b28
fix(create-vite): remove vue3 deprecated plugin (TypeScript Vue Plugin) (#16158) 2024-03-14 08:56:19 +01:00
Sean Washington
5aabad32b2
fix(docs): fix load error handling window reload example (#16159) 2024-03-14 06:48:42 +01:00
翠 / green
7ee426194f
feat(optimizer): show a friendly warning with 404 instead of 504 outdated optimize dep (#16080)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-03-13 15:53:50 +01:00
翠 / green
1d5eec477e
feat: csp nonce support (#16052)
Co-authored-by: Andrew <8158705+maccuaa@users.noreply.github.com>
Co-authored-by: Justin Tay <49700559+justin-tay@users.noreply.github.com>
2024-03-13 15:47:33 +01:00
翠 / green
f377a840ad
fix: sideEffects: [] should work as sideEffects: false (#16152) 2024-03-13 11:37:58 +01:00
翠 / green
6f77b2b220
fix(esbuild): preserve import.meta even if esbuild.target is set to lower versions (#16151) 2024-03-13 11:18:09 +01:00
Dunqing
8cd846cdbf
fix(ssr): crash on circular import (#14441) 2024-03-13 15:03:55 +08:00
bluwy
d82e8b1c5b release: v5.2.0-beta.0 2024-03-12 23:41:33 +08:00
moui0
2f95c2bd9e
chore(deps): bump rollup to 4.13.0 (#15295) 2024-03-12 22:43:56 +08:00
翠 / green
74dc73a570
feat(ssr): import.meta.filename/dirname support (#15887) 2024-03-12 22:15:37 +08:00
Hiroshi Ogawa
8e54af67db
fix(ssr): apply alias to resolvable dependencies during dev (#15602) 2024-03-12 22:14:51 +08:00
btea
e030f4bfd1
refactor: normalize cache package dir (#15546) 2024-03-12 21:41:44 +08:00
Philipp Zerelles
b10d1628d5
fix: encode URLs correctly (fix #15298) (#15311)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-03-12 21:39:57 +08:00
Bjorn Lu
57628dc780
fix(hmr): call dispose before prune (#15782) 2024-03-12 21:36:54 +08:00
Rom
6d6ae10f5d
feat: add entry name to manifest (#15849) 2024-03-12 21:17:11 +08:00
Bjorn Lu
1cc88c13d8
feat(resolve): auto externalize node builtins for noExternal: true in node (#16019) 2024-03-12 21:15:05 +08:00
Bjorn Lu
17d71ecf74
fix(css): treeshake css modules (#16051) 2024-03-12 21:13:13 +08:00
Sam Richard
dd49505cfd
feat: convert overlay template to DOM (#15852)
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-03-12 21:12:10 +08:00
翠 / green
3efb1a11a0
feat(config): import.meta.filename/dirname support (#15888) 2024-03-12 21:11:25 +08:00
翠 / green
75a9fc668f
feat: accept assets to be specified as input (#16087) 2024-03-12 21:10:53 +08:00
Senao
03b9674cb2
feat: support for self-referencing (#16068) 2024-03-12 21:10:04 +08:00
pengbo
4559ac02ed
style: update overlay style on mobile (#15760)
Co-authored-by: pengbo43 <pengbo43@jd.com>
2024-03-12 21:09:42 +08:00
smeng9
a149d9e955
fix: apply correct fs restrictions for Yarn PnP when serving files from node_modules (#15957) 2024-03-12 21:09:09 +08:00
이채준 - CJ Lee
592c95ad54
chore: use @polka/compression (#16146) 2024-03-12 21:08:18 +08:00
翠 / green
30e5ae3616
fix: upgrade esbuild to 0.20.x (#16079) 2024-03-12 21:07:55 +08:00
翠 / green
2fc252e873
docs: replace DEBUG="vite:foo" with --debug foo (#16144) 2024-03-12 06:52:57 +01:00
翠 / green
6019a25144
docs: add docs about vite serve alias (#16145) 2024-03-12 06:52:05 +01:00
bluwy
d2839bc63e release: create-vite@5.2.2 2024-03-11 22:26:22 +08:00