Commit Graph

4762 Commits

Author SHA1 Message Date
bluwy
18a68cfcc1 release: v5.3.0-beta.0 2024-05-30 23:07:30 +08:00
bluwy
c8360b5247 release: plugin-legacy@5.4.1 2024-05-30 23:05:34 +08:00
gtmnayan
1f60647885
fix: prevent unhandledRejection if --open fails (#16726) 2024-05-30 09:50:41 +02:00
Bjorn Lu
c735cc7895
fix(plugin-legacy): group discovered polyfills by output (#17347) 2024-05-30 15:06:11 +08:00
proc07
416184376e
fix(optimize-deps): don't externalize JS files imported with asset extensions (#16242) 2024-05-30 15:58:10 +09:00
Hong Xu
e6a70b7c2d
docs(plugin-legacy): update outdated warning about modernPolyfills (#17335) 2024-05-29 17:34:00 +02:00
翠 / green
454e2d1089
refactor: remove acorn (#16238) 2024-05-29 22:47:51 +08:00
Nikita Stenin
f599ab4ae4
fix: adjust import analysis behavior to match Node (#16738) 2024-05-29 22:46:07 +08:00
Miao Wang
48edfcd913
fix(plugin-legacy): improve deterministic polyfills discovery (#16566)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-05-29 22:26:41 +08:00
John Hunter
7b0a65e200
fix(proxy): rewrite the origin header to match the target for ws proxy (#16558)
Co-authored-by: John Hunter <john.hunter@arenko.group>
2024-05-29 22:22:59 +08:00
pengbo
9f02a9f7d0
feat: add headTagInsertCheck warning (#16555)
Co-authored-by: pengbo43 <pengbo43@jd.com>
2024-05-29 22:21:42 +08:00
pengbo
98531901ee
refactor(build): remove quotes from preload marker (#16562)
Co-authored-by: pengbo43 <pengbo43@jd.com>
2024-05-29 22:21:25 +08:00
Tristan Lins
4102ca9b0f
feat: add 'system' library format (#11256) 2024-05-29 22:19:22 +08:00
Anthony Fu
4aa4a807c3
refactor: plugin container (#17288) 2024-05-29 22:19:01 +08:00
翠 / green
8880bc5a9a
feat(asset): support /*@vite-ignore*/ for new URL(, import.meta.url) (#16590) 2024-05-29 22:17:53 +08:00
Adam Weiss
5f13bf8cf9
chore(deps): update esbuild (#17290) 2024-05-29 22:17:17 +08:00
Vladimir
14b5cedbfd
feat: add an option to not start a websocket server (#16219) 2024-05-29 22:14:30 +08:00
bluwy
bed3faa0cb release: v5.2.12 2024-05-28 21:14:20 +08:00
Bjorn Lu
5a457454bf
chore(deps): remove unused deps (#17329) 2024-05-28 11:31:28 +00:00
Ferdinand Thiessen
15a6ebb414
fix(css): only use files the current bundle contains (#16684) 2024-05-28 14:02:26 +08:00
Arnaud Barré
f0fb9876de
fix(optimizer): log dependencies added by plugins (#16729) 2024-05-27 23:47:35 +08:00
Anthony Fu
8f167653ed
chore: move to eslint flat config (#16743) 2024-05-27 22:41:39 +08:00
Mikhail Avdeev
8e4e932b49
fix(css): handle lightningcss compiled css in Deno (#17301)
Co-authored-by: Михаил Авдеев <mikhail.avdeev@vk.team>
2024-05-27 22:33:47 +08:00
renovate[bot]
4a89766d83
fix(deps): update all non-major dependencies (#17321)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-27 12:16:22 +08:00
btea
6a085d0467
fix(hmr): normalize the path info (#14255) 2024-05-27 12:08:09 +08:00
Arnaud Barré
e7d38ab1c4
docs: deprecate server.hot (#16741) 2024-05-23 15:59:16 +00:00
renovate[bot]
b45922a91d
chore(deps): update all non-major dependencies (#16722)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-20 15:56:38 +08:00
Yuichiro Yamashita
89378c07b6
fix: mention build.rollupOptions.output.manualChunks instead of build.rollupOutput.manualChunks (#16721) 2024-05-20 15:45:23 +08:00
翠 / green
804184654b
fix(css): page reload was not happening with .css?raw (#16455) 2024-05-18 15:38:35 +08:00
Ceci
abf766e939
docs: correct proxy shorthand example (#15938) 2024-05-18 15:26:04 +08:00
翠 / green
95fe5a79c4
fix(css): avoid generating empty JS files when JS files becomes empty but has CSS files imported (#16078) 2024-05-18 15:22:00 +08:00
Arnaud Barré
2b61cc39a9
fix(hmr): trigger page reload when calling invalidate on root module (#16636) 2024-05-14 22:01:36 +08:00
renovate[bot]
76d1642c3c
chore(deps): update dependency execa to v9 (#16662)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-05-13 15:29:57 +08:00
MattPeng
6583ad25a1
fix(build): make SystemJSWrapRE match lazy (#16633) 2024-05-13 14:55:24 +08:00
renovate[bot]
bf2f0145fe
fix(deps): update all non-major dependencies (#16660)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-05-13 14:42:44 +08:00
Adam Hines
22dc19601e
fix(error-logging): rollup errors weren't displaying id and codeframe (#16540) 2024-05-09 13:00:40 +08:00
이채준 - CJ Lee
b0b839accc
fix(logger): truncate log over 5000 characters long (#16581) 2024-05-08 12:51:16 +02:00
bluwy
c3b3d3c617 release: plugin-legacy@5.4.0 2024-05-08 12:22:58 +08:00
Xavi Lee
a2652825b7
chore(create-vite): update IDE support instructions in helloworld components (#16605)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-05-07 12:14:54 +02:00
renovate[bot]
671155337a
fix(deps): update all non-major dependencies (#16603)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-05-07 10:01:16 +02:00
Adam Weiss
913c0403a5
fix(sourcemap): improve sourcemap compatibility for vue2 (#16594) 2024-05-05 14:28:53 +02:00
patak-dev
2bc5d3de87 release: v5.2.11 2024-05-02 10:28:10 +02:00
btea
f8feeea41c
feat: improve dynamic import variable failure error message (#16519) 2024-05-02 11:45:39 +08:00
Bjorn Lu
c071eb3822
fix(ssr): handle class declaration and expression name scoping (#16569) 2024-05-02 00:56:28 +09:00
Bjorn Lu
02db9479ac
fix(ssr): handle function expression name scoping (#16563) 2024-05-01 16:30:22 +08:00
renovate[bot]
2d6a13b0aa
fix(deps): update all non-major dependencies (#16549) 2024-05-01 06:40:18 +02:00
Dr. Ralf S. Engelschall
0e93f588b9
fix: scripts and styles were missing from built HTML on Windows (#16421)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-05-01 06:39:49 +02:00
Bjorn Lu
bb79c9b653
fix(preload): skip preload for non-static urls (#16556) 2024-04-30 10:18:56 +02:00
Minjee Son
2322657836
feat(plugin-legacy): support additionalModernPolyfills (#16514) 2024-04-30 11:11:42 +08:00
godky
f71ba5b94a
fix: dynamic-import-vars plugin normalize path issue (#16518) 2024-04-25 09:11:36 +02:00
renovate[bot]
2d50be2a54
fix(deps): update all non-major dependencies (#16488) 2024-04-23 11:27:54 +02:00
Chris Ackerman
4d83eb58cd
fix(dev): watch publicDir explicitly to include it outside the root (#16502) 2024-04-23 12:42:37 +09:00
btea
7171837abb
docs(legacy): update modernTargets option default value description (#16491) 2024-04-23 00:37:14 +09:00
sapphi-red
088d24b922 release: v5.2.10 2024-04-20 19:43:27 +09:00
翠 / green
77e7359083
revert: perf: use workspace root for fs cache (#15712) (#16476) 2024-04-20 19:06:31 +09:00
翠 / green
6a127d67ba
fix: don't add outDirs to watch.ignored if emptyOutDir is false (#16453) 2024-04-18 18:16:56 +02:00
翠 / green
11444dcee0
feat: show warning if root is in build.outDir (#16454) 2024-04-18 16:06:16 +00:00
Senao
721f94ddac
fix: add base to virtual html (#16442) 2024-04-18 17:46:03 +02:00
Adam Hines
8e54bbd74d
feat: write cspNonce to style tags (#16419) 2024-04-18 10:54:39 +00:00
Senao
af72eabab1
fix: adjust esm syntax judgment logic (#16436) 2024-04-18 10:39:27 +02:00
Adam Hines
b8726357c9
fix(cspNonce): don't overwrite existing nonce values (#16415) 2024-04-18 09:24:26 +02:00
renovate[bot]
6cccef78a5
chore(deps): update dependency eslint-plugin-n to v17 (#16381)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-04-15 16:49:17 +08:00
patak-dev
a77707d69c release: v5.2.9 2024-04-15 10:09:58 +02:00
Hiroshi Ogawa
102c2fd5ad
fix: fix accumulated stacks in error overlay (#16393) 2024-04-13 14:48:08 +00:00
翠 / green
4af9f97cad
fix(legacy): modern polyfill autodetection was not injecting enough polyfills (#16367) 2024-04-09 16:09:35 +08:00
renovate[bot]
58a2938a97
fix(deps): update all non-major dependencies (#16376) 2024-04-08 17:17:01 +02:00
btea
77562c3ff2
chore: update region comment (#16380) 2024-04-08 09:43:30 +02:00
btea
b05c405f68
fix: fsp.rm removing files does not take effect (#16032) 2024-04-05 14:39:00 +00:00
Bjorn Lu
e2658ad6fe
perf(css): only replace empty chunk if imported (#16349) 2024-04-05 10:30:20 +08:00
Matyáš Racek
c0ec6bea69
perf: reduce size of injected __vite__mapDeps code (#16184)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-04-05 10:30:10 +08:00
sapphi-red
8b8d4024fb release: v5.2.8 2024-04-03 22:48:22 +09:00
Caven
646319cc84
fix: do not access document in /@vite/client when not defined (#16318)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-04-03 12:38:40 +00:00
Hiroshi Ogawa
445c4f2158
fix: fix sourcemap when using object as define value (#15805) 2024-04-03 12:19:35 +02:00
renovate[bot]
a78e265822
chore(deps): update all non-major dependencies (#16325) 2024-04-03 09:07:15 +00:00
翠 / green
4581e8371d
refactor: use types from sass instead of @types/sass (#16340) 2024-04-03 17:10:23 +09:00
Greg T. Wallace
3c85c6b52e
fix: csp nonce injection when no closing tag (#16281) (#16282)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-03-31 20:38:47 +02:00
翠 / green
21cc10bfda
fix(hmr): multiple updates happened when invalidate is called while multiple tabs open (#16307) 2024-03-29 13:41:49 +01:00
翠 / green
01af308dfd
fix(css): unknown file error happened with lightningcss (#16306) 2024-03-29 09:24:03 +00:00
翠 / green
eca68fa942
fix(scanner): duplicate modules for same id if glob is used in html-like types (#16305) 2024-03-29 08:57:16 +00:00
patak-dev
ad246da989 release: v5.2.7 2024-03-29 09:13:58 +01:00
patak
45a06daac8
chore: deprecate splitVendorChunkPlugin (#16274) 2024-03-29 07:57:28 +01:00
翠 / green
ffedc06cab
fix(hmr): trigger hmr for missing file import errored module after file creation (#16303) 2024-03-29 07:04:00 +01:00
翠 / green
dfffea1f43
fix(hmr): don't mutate module graph when collecting modules (#16302) 2024-03-29 05:51:38 +01:00
翠 / green
1f5379601e
feat(hmr): reload when HTML file is created/deleted (#16288) 2024-03-27 15:04:53 +01:00
翠 / green
24e376ad86
fix(sourcemap): don't warn even if the sourcesContent is an empty string (#16273) 2024-03-26 09:11:10 +01:00
renovate[bot]
7caef4216e
fix(deps): update all non-major dependencies (#16258)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-03-26 09:00:34 +01:00
Hiroshi Ogawa
890538a694
fix: skip injecting __vite__mapDeps when it's not used (#16271) 2024-03-26 15:49:07 +09:00
sapphi-red
7369016d8a release: v5.2.6 2024-03-24 22:02:21 +09:00
翠 / green
ba5269cca8
fix: fs.deny with globs with directories (#16250) 2024-03-24 13:31:50 +01:00
patak-dev
7a2791ce17 release: v5.2.5 2024-03-24 10:15:01 +01:00
patak
7093f779b7
fix: avoid SSR requests in waitForRequestIdle (#16246) 2024-03-24 07:28:57 +01:00
patak
520bb8917e
docs(create-vite): link to Vue docs for IDE support info (#16225) 2024-03-24 07:24:47 +01:00
Wout Mertens
3a73e485cd
docs: clarify enforce vs hook.order (#16226) 2024-03-24 15:04:31 +09:00
patak
6a07243a0e release: v5.2.4 2024-03-23 10:58:33 +01:00
翠 / green
fbf69d5f6c
fix: dont resolve imports with malformed URI (#16244) 2024-03-23 10:56:58 +01:00
bluwy
a67f9f6945 release: v5.2.3 2024-03-22 21:13:46 +08:00
Bjorn Lu
8617e7638e
fix: skip encode if is data uri (#16233) 2024-03-22 13:46:20 +01:00
Hiroshi Ogawa
f184c8032b
fix(optimizer): fix optimizeDeps.include glob syntax for ./* exports (#16230) 2024-03-22 20:34:28 +08:00
btea
9800c738b5
chore: utf8 replaced with utf-8 (#16232) 2024-03-22 20:34:01 +08:00
Hiroshi Ogawa
dad7f4f5a5
fix(runtime): fix sourcemap with prepareStackTrace (#16220) 2024-03-21 10:07:03 +01:00
翠 / green
d7c5256996
fix: handle warmup request error correctly (#16223) 2024-03-21 09:48:58 +01: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
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
patak
98888439e0
feat: formalize waitForRequestsIdle (experimental) (#16135) 2024-03-14 13:52:09 +01:00
wChenonly
1645fc0b28
fix(create-vite): remove vue3 deprecated plugin (TypeScript Vue Plugin) (#16158) 2024-03-14 08:56:19 +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
bluwy
d2839bc63e release: create-vite@5.2.2 2024-03-11 22:26:22 +08:00
bluwy
6f7466e621 release: v5.1.6 2024-03-11 22:25:46 +08:00
renovate[bot]
a862ecb941
chore(deps): update all non-major dependencies (#16131)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-03-11 14:36:12 +08:00
Deisling Eduard
840354601a
fix: server middleware mode resolve (#16122) 2024-03-11 12:38:03 +08:00
schelmo
b6fb3235c3
fix: check for publicDir before checking if it is a parent directory (#16046) 2024-03-11 11:14:37 +09:00
Dominik G
fd9de0473e
fix(esbuild): update tsconfck to fix bug that could cause a deadlock (#16124) 2024-03-08 17:44:51 +01:00
Senao
f6991948f5
fix: handle function property extension in namespace import (#16113) 2024-03-08 21:29:55 +08:00
bluwy
4ccfa05d0e release: plugin-legacy@5.3.2 2024-03-08 20:39:00 +08:00
Jan Gosmann
081353179a
fix(plugin-legacy): respect modernTargets option if renderLegacyChunks disabled (#15789) 2024-03-08 20:36:43 +08:00
xiejiahe
0d2df52716
style(utils): remove null check (#16112) 2024-03-08 12:31:49 +08:00
翠 / green
eef9da13d0
fix(worker): throw error when circular worker import is detected and support self referencing worker (#16103) 2024-03-06 20:03:33 +09:00
翠 / green
60dfa9e15c
fix(worker): hide "The emitted file overwrites" warning if the content is same (#16094) 2024-03-05 11:21:19 +01:00
翠 / green
93be84eccd
refactor(runtime): share more code between runtime and main bundle (#16063) 2024-03-05 11:00:16 +01:00
翠 / green
8f74ce4ff3
fix: escape single quote when relative base is used (#16060) 2024-03-05 09:09:59 +01:00
patak
2af1ae807d release: v5.1.5 2024-03-04 20:40:23 +01:00
Eduard Kuzmenko
bd52283a70
fix: analysing build chunk without dependencies (#15469)
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-03-04 20:33:53 +01:00
翠 / green
ab823ab618
fix: import with query with imports field (#16085) 2024-03-04 18:58:53 +01:00
翠 / green
11cceeab39
revert: "fix: upgrade esbuild to 0.20.x" (#16072) 2024-03-02 16:53:01 +01:00
James Garbutt
899d9b1d27
fix: upgrade esbuild to 0.20.x (#16062)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-03-01 14:03:01 +01:00
翠 / green
aac2ef7752
refactor(runtime): use functions from pathe (#16061) 2024-03-01 01:19:14 +01:00
翠 / green
a9112ebb21
fix: output correct error for empty import specifier (#16055) 2024-02-29 12:50:32 +08:00
btea
1dccc3713a
fix: normalize literal-only entry pattern (#16010) 2024-02-28 17:13:24 +08:00
renovate[bot]
7cfe80d0df
chore(deps): update all non-major dependencies (#16028) 2024-02-27 07:28:14 +01:00
Travis Harmon
ff4c83456f
fix(create-vite): ts error in the svelte-ts template (#16031) 2024-02-27 15:04:23 +09:00
翠 / green
b20d54257e
refactor: share code with vite runtime (#15907) 2024-02-24 11:05:19 +01:00
Bjorn Lu
42fd11c1c6
fix(plugin-legacy): dynamic import browserslist-to-esbuild (#16011) 2024-02-22 16:02:22 +01:00
Vladimir
57463fc53f
fix(runtime): runtime HMR affects only imported files (#15898) 2024-02-22 14:23:27 +01:00
btea
37af8a7be4
fix(plugin-legacy): replace esbuild-plugin-browserslist with browserslist-to-esbuild (#15988) 2024-02-21 14:33:00 +01:00
翠 / green
4144781fbc
fix(scanner): respect experimentalDecorators: true (#15206) 2024-02-21 14:32:29 +01:00
Jinjiang
49300b3487
fix: optimizeDeps.entries with literal-only pattern(s) (#15853) 2024-02-21 14:29:52 +01:00
Hiroshi Ogawa
aff54e1d5e
fix: __vite__mapDeps code injection (#15732) 2024-02-21 21:05:09 +08:00
patak
edb9c4c798 release: create-vite@5.2.1 2024-02-21 12:15:10 +01:00
patak
3e6b8efb03 release: plugin-legacy@5.3.1 2024-02-21 12:13:02 +01:00
patak
0137ea0100 release: v5.1.4 2024-02-21 12:12:12 +01:00
翠 / green
5e05f10069
fix(create-vite): remove tsc command from qwik template (#15982)
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-02-21 11:06:21 +00:00
MAJED
8dc1b73146
perf: remove unnecessary regex s modifier (#15766) 2024-02-21 10:52:45 +01:00
patak
f3b195cf33
feat(create-vite): add custom remix option for React (#15995) 2024-02-21 08:18:31 +01:00
翠 / green
4fe971fda3
fix: resolve directory correctly when fs.cachedChecks: true (#15983) 2024-02-20 14:05:07 +01:00
renovate[bot]
7b9e927a65
chore(deps): update typescript-eslint monorepo to v7 (major) (#15960) 2024-02-20 12:58:43 +01:00
Giorgio Boa
725589adbf
fix(qwik template): change preview script (#15975) 2024-02-20 12:11:39 +01:00
btea
1d263d39d3
fix(watch): build watch fails when outDir is empty string (#15979) 2024-02-20 19:47:45 +09:00
Murad Khafizov
81b3bd09cf
fix: srcSet with optional descriptor (#15905)
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-02-20 08:15:29 +01:00
renovate[bot]
571a3fde43
fix(deps): update all non-major dependencies (#15959)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-02-20 16:06:26 +09:00
patak
8b11fea915
fix: fs cached checks disabled by default for yarn pnp (#15920) 2024-02-16 05:38:18 +01:00
patak
bf39527904 release: v5.1.3 2024-02-15 14:57:06 +01:00
patak
509902807c
fix: cachedTransformMiddleware for direct css requests (#15919) 2024-02-15 14:54:52 +01:00
Vladimir
4172f02b70
refactor(runtime): seal ES module namespace object instead of feezing (#15914) 2024-02-14 20:19:06 +01:00
翠 / green
63a39c244b
refactor(runtime): minor tweaks (#15904) 2024-02-14 16:16:55 +01:00
patak
75ddc0e4fd release: v5.1.2 2024-02-14 15:12:50 +01:00
翠 / green
7b1560765e
fix(runtime): pass path instead of fileURL to isFilePathESM (#15908) 2024-02-14 13:35:40 +00:00
翠 / green
d9adf18e63
chore: update license file (#15885) 2024-02-12 16:32:23 +01:00
btea
added3ee10
fix(build): do not output build time when build fails (#15711)
Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
2024-02-12 16:17:25 +01:00
renovate[bot]
642d528b7b
chore(deps): update dependency dotenv-expand to v11 (#15875)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-12 22:00:00 +09:00
renovate[bot]
d16ce5db2f
chore(deps): update all non-major dependencies (#15874)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-02-12 20:35:52 +08:00
btea
306df44f6e
fix: normalize import file path info (#15772) 2024-02-12 08:42:34 +01:00
Jay Wang
570e0f1852
fix(worker): support UTF-8 encoding in inline workers (fixes #12117) (#15866)
Signed-off-by: Jay Wang <jay@zijie.wang>
Co-authored-by: 翠 / green <green@sapphi.red>
2024-02-12 08:34:51 +01:00
patak
8e946a1009 release: v5.1.1 2024-02-09 10:56:11 +01:00
翠 / green
b2873ac393
fix: empty CSS file was output when only .css?url is used (#15846) 2024-02-08 16:54:18 +01:00
Rom
3d860e7916
fix: skip not only .js but also .mjs manifest entries (#15841)
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-02-08 15:15:03 +00:00
patak
9da6502fe7
chore: post 5.1 release edits (#15840) 2024-02-08 11:50:27 +01:00
patak
662febc078 release: create-vite@5.2.0 2024-02-08 11:34:48 +01:00
patak
3036bef667 release: v5.1.0 2024-02-08 11:32:15 +01:00
patak
ed875f88f6
chore: revert #15746 (#15839) 2024-02-08 11:18:51 +01:00
renovate[bot]
e0a6ef2b9e
fix(deps): update all non-major dependencies (#15803)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-08 10:43:45 +01:00
翠 / green
f1a42429e1
refactor: remove vite build --force (#15837) 2024-02-08 10:20:19 +01:00
Rael Gugelmin Cunha
1882c734b1
feat(create-vite): allow overwrite in command line (#15808)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-08 10:19:38 +01:00
Julius
55a3427ef8
fix: pass customLogger to loadConfigFromFile (fix #15824) (#15831) 2024-02-08 07:22:54 +01:00
Phil Bates
5e5ca7d1db
feat(create-vite): set "strict: true" in tsconfig.node.json (#15820) 2024-02-08 07:20:47 +01:00
patak
0f9c72a886 release: v5.1.0-beta.7 2024-02-07 14:40:35 +01:00
patak
9070be36eb
fix: disable fs.cachedChecks for custom watch ignore patterns (#15828) 2024-02-07 14:26:00 +01:00
Pontus Östlund
1c0dc3db2c
fix(config): improved warning when root path includes bad characters (#15761)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-07 10:56:36 +01:00
gacek1123
3ee4e7b083
docs: fix typos in CHANGELOG (#15825) 2024-02-07 08:34:21 +01:00
Jinjiang
c3e83bb078
fix: scan entries when the root is in node_modules (#15746) 2024-02-06 18:32:48 +01:00
Bjorn Lu
78d838a23b
perf: use transform cache by resolved id (#15785)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
2024-02-06 14:56:57 +01:00
Senao
5fbeba3156
fix: judge next dirent cache type (#15787) 2024-02-06 09:45:14 +01:00
patak
775bb5026e
chore: release notes (#15777) 2024-02-01 13:33:28 +01:00
patak
9f4b99650d release: v5.1.0-beta.6 2024-02-01 13:03:28 +01:00
Vladimir
8b3ab07718
feat: experimental Vite Runtime API (#12165) 2024-02-01 12:59:21 +01:00
Darren Nevin
6b45037bda
fix: add ref() and unref() to chokidar.d.ts for typescript build to work (#15706) 2024-01-29 11:40:55 +01:00
patak
2805b2d2f2
perf: simplify explicit import mark in import analysis (#15724) 2024-01-29 15:48:25 +08:00
patak
997a695145 release: v5.1.0-beta.5 2024-01-27 14:10:49 +01:00
patak
a08f646a95
fix: do not init optimizer during build (#15727)
Co-authored-by: Senao <48955231+XiSenao@users.noreply.github.com>
2024-01-27 14:08:38 +01:00
renovate[bot]
4d9363ad6b
fix(deps): update all non-major dependencies (#15675)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-01-26 17:40:13 +09:00
patak
8ca97434f7 release: v5.1.0-beta.4 2024-01-26 07:04:08 +01:00
patak
8815763b71
perf: use workspace root for fs cache (#15712) 2024-01-25 18:21:20 +01:00
bluwy
f9c33add88 release: plugin-legacy@5.3.0 2024-01-25 22:22:52 +08:00
patak
92f2747ce7
chore: remove unneeded normalizePath (#15713) 2024-01-25 12:37:33 +01:00
patak
a05c70977a
feat: enable fs.cachedChecks by default (#15704) 2024-01-25 12:06:01 +01:00
patak
3a7b65041b fix: windows add/delete file 2024-01-25 11:16:36 +01:00
btea
98bc3dc357
fix: normalize prettify url (#15705) 2024-01-25 06:19:01 +01:00
Anthony Fu
fb4bddcdc7
fix(hmr): pass id in parseImports for better debugging DX (#15707) 2024-01-24 23:15:46 +01:00
이채준 - CJ Lee
6c4bf266a0
fix(node): remove timestamp query of staticImportedUrls (#15663) 2024-01-23 20:51:00 +01:00
btea
74382b9db6
fix(build): build error message output twice (#15664) 2024-01-24 00:37:16 +08:00
patak
b7c6629208
feat(optimizer): holdUntilCrawlEnd option (#15244) 2024-01-23 16:53:54 +01:00
Ryuji Ito
aa7916a5c2
docs: fix dead link (#15700) 2024-01-23 16:02:21 +01:00
btea
09bd58d909
chore(proxy): update proxy error info (#15678) 2024-01-23 09:09:39 +01:00
patak
6f88a90c41
perf: lazy load rollup during dev (#15621) 2024-01-23 09:09:21 +01:00
Hyunbin
93fce55aee
fix(preview): set isPreview true (#15695) 2024-01-23 15:50:13 +08:00
patak
3c9cab6912 release: v5.1.0-beta.3 2024-01-22 11:31:46 +01:00
翠 / green
acd795f552
perf: use thread for preprocessors (#13584) 2024-01-22 10:27:09 +00:00
Senao
f6cf3d11af
fix: default sideEffect option is delivered to rollup (#15665) 2024-01-22 10:14:20 +01:00
Arnaud Barré
a6f39e861c
fix(create-vite): turn off react/jsx-no-target-blank ESLint rule in React JS template (#15672) 2024-01-22 10:08:01 +01:00
patak
09b15170af
refactor: append tags logic in applyHtmlTransforms (#15647) 2024-01-22 10:07:13 +01:00
Bjorn Lu
639bbd65c0
fix(ssr): support externalized builtins for webworker (#15656) 2024-01-19 17:08:40 +01:00
patak
35ae4f8dd5
perf: middleware to short-circuit on 304 (#15586) 2024-01-19 16:54:19 +01:00
Bjorn Lu
526cf23410
fix(ssr): mark builtin modules as side effect free (#15658) 2024-01-19 16:19:35 +01:00
Vladimir
110e2e1651
refactor(hmr): provide a separate logger interface (#15631) 2024-01-19 15:12:04 +01:00
patak
5b4be42ad8 release: v5.1.0-beta.2 2024-01-19 14:55:03 +01:00
patak
89be67de47
fix: fs deny for case insensitive systems (#15653) 2024-01-19 14:02:51 +01:00