Commit Graph

4762 Commits

Author SHA1 Message Date
Bjorn Lu
8bc122feea
fix(create-vite): remove eslint overrides (#17833) 2024-08-08 00:20:21 +08:00
bluwy
272a77b080 release: create-vite@5.5.0 2024-08-07 23:24:33 +08:00
bluwy
cf50e548d4 release: v5.4.0 2024-08-07 23:23:11 +08:00
Hiroshi Ogawa
bb4ba9f448
fix(worker): fix importScripts injection breaking iife code (#17827) 2024-08-06 22:08:34 +08:00
btea
6ae0615416
fix(build): windows platform build output path error (#17818) 2024-08-06 20:43:40 +08:00
Dominik G.
cf2f90d4b9
fix(deps): update launch-editor to consume fix for windows paths (#17828) 2024-08-06 19:31:34 +08:00
renovate[bot]
bb2f8bb55f
chore(deps): update all non-major dependencies (#17820)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-08-05 16:58:19 +08:00
Josh Goldberg ✨
d1891fda02
chore: bump typescript-eslint to v8 (#17624)
Co-authored-by: Anthony Fu <github@antfu.me>
2024-08-05 10:03:42 +08:00
Eckhardt (Kaizen) Dreyer
81327eb980
perf(ssr): do a single-pass over AST with node cache arrays (#17812) 2024-08-03 10:30:55 +08:00
Hiroshi Ogawa
6aa220607b
fix(ssr): fix global variable name conflict (#17809) 2024-08-02 13:53:21 +02:00
patak-dev
0f56e17241 release: v5.4.0-beta.1 2024-08-01 17:12:37 +02:00
patak
4de659c351
fix: opt-in server.fs.cachedChecks (#17807)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-08-01 17:03:43 +02:00
Bjorn Lu
720447ee72
fix: handle encoded base paths (#17577) 2024-08-01 10:53:07 +08:00
Hiroshi Ogawa
1025bb6d8f
feat(css): support sass compiler api and sass-embedded package (#17754) 2024-07-31 19:34:39 +08:00
Arnaud Barré
efcd830e47
fix(create-vite): avoid usage of composite in TS configs (#17774) 2024-07-31 16:19:13 +08:00
Knightwalker
6eab91e501
refactor(create-vite): use named imports for react (#17773) 2024-07-31 12:55:42 +08:00
smeng9
dcfa75c6f5
feat(create-vite): add eslint.config.js to React templates (#12860)
Co-authored-by: Shaoyu Meng <shaoyu>
Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-31 12:53:49 +08:00
bluwy
01f6cff2ac release: v5.4.0-beta.0 2024-07-30 22:36:29 +08:00
Michael Salim
5c55b291cf
fix(mergeConfig): don't recreate server.hmr.server instance (#17763) 2024-07-30 15:15:43 +02:00
renovate[bot]
e408542748
fix(deps): update all non-major dependencies (#17780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 13:38:12 +08:00
Hiroshi Ogawa
73a3de01d2
feat(css): support sass modern api (#17728) 2024-07-30 13:35:18 +08:00
btea
116e37acf1
feat(types): support custom VitePreloadErrorEvent (#17615) 2024-07-30 13:13:02 +08:00
SegaraRai
bbf001f0ec
fix: specify own Node version as target when bundling config files (#17307) 2024-07-30 13:10:33 +08:00
郁蒸十四
659b720693
fix(build): handle invalid JSON in import.meta.env (#17648)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-30 13:10:10 +08:00
Bjorn Lu
952bae3efc
perf: improve regex performance (#17789) 2024-07-29 22:23:11 +02:00
Bjorn Lu
796eef3af1
chore: update eslint config (#17788) 2024-07-29 22:14:34 +02:00
Bjorn Lu
461d37b947
chore: remove fs-extra dev dependency (#17782) 2024-07-29 19:20:03 +08:00
patak
b947fdcc9d
chore: minor config.logger refactor (#17770) 2024-07-27 09:53:16 +02:00
bluwy
440783953a release: v5.3.5 2024-07-25 17:20:15 +08:00
Bjorn Lu
66bdb1d7b4
refactor(asset): remove rollup 3 public file watch workaround (#16331) 2024-07-24 20:42:10 +08:00
houfeng
b240a8347e
fix(build): env output is not stable (#17748) 2024-07-23 17:09:52 +02:00
Bjorn Lu
b58b423ba8
fix(importMetaGlob): handle alias that starts with hash (#17743) 2024-07-23 13:00:31 +02:00
Stanislav Lashmanov
d906d3f8e1
fix(css): resolve url aliases with fragments (fix: #17690) (#17691)
Co-authored-by: Stanislav Lashmanov <slashmanov@gitlab.com>
2024-07-23 12:59:36 +02:00
Maisha Tremblay
3c1bde3406
fix(client): fix vite error path (#17744) 2024-07-23 11:54:40 +02:00
renovate[bot]
998373120c
chore(deps): update all non-major dependencies (#17734)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-23 11:42:49 +08:00
btea
4fc9b6424c
chore: extend commit hash (#17709) 2024-07-22 11:32:22 +02:00
heerim
f4f488fe83
revert: fix(logger): truncate log over 5000 characters long (#16581) (#17729) 2024-07-22 11:28:31 +02:00
Bjorn Lu
df5ceb35b7
chore(deps): update typescript (#17699) 2024-07-22 11:48:47 +08:00
Ben McCann
db5ab1dfc4
fix: show error if vite client cannot be loaded (#17419)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-18 16:31:18 +02:00
Ari Perkkiö
f321fa8de2
fix(ssrTransform): sourcemaps with multiple sources (#17677) 2024-07-17 20:32:24 +02:00
renovate[bot]
93281b0e09
fix(deps): update all non-major dependencies (#17629)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-07-16 14:06:54 +02:00
Emile Fokkema
b55c32f7e3
fix: make server type less restrictive (fix #17627) (#17628) 2024-07-16 14:05:35 +02:00
bluwy
1d0d9ab99c release: create-vite@5.4.0 2024-07-16 17:14:17 +08:00
bluwy
4e57a97f46 release: v5.3.4 2024-07-16 17:12:38 +08:00
Douglas Moura
6d31a1de59
docs(create-vite): add missing tsconfig.app.json file at the project array for react-ts (#17645) 2024-07-16 17:04:57 +08:00
翠 / green
1465b2064e
fix(css): include .css?url in assets field of manifest (#17623) 2024-07-15 23:16:43 +02:00
btea
c4a2227c74
refactor: replace includes with logical operations (#17620) 2024-07-15 21:21:59 +08:00
Tomxuetao
d8a5d700bc
chore: add callback to http-proxy.d.ts jsdoc (#17646) 2024-07-15 21:11:18 +08:00
Bjorn Lu
4be96b48bc
fix(build): skip preload treeshaking for nested braces (#17687) 2024-07-15 15:06:07 +02:00
Luke Nelson
b723a753ce
fix: update Terser type definitions (fix #17668) (#17669) 2024-07-15 11:42:25 +00:00
Ryan Christian
564c8f45f5
chore: add create-preact recommendation to Preact templates (#17649) 2024-07-14 09:57:09 +02:00
Ryan Christian
d4d98dc95e
feat: add create-preact to list of options in create-vite (#17674) 2024-07-14 09:56:45 +02:00
风痕
07bc489b31
fix(worker): nested inlined worker always fallbacked to data URI worker instead of using blob worker (#17509) 2024-07-13 21:52:40 +02:00
bluwy
22b2994295 release: v5.3.3 2024-07-03 12:52:34 +08:00
renovate[bot]
012490ca86
fix(deps): update all non-major dependencies (#17590)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-02 18:08:55 +08:00
John Hunter
14c3d49303
fix(proxy): replace changeOrigin changes in 5.3.0 with new rewriteWsOrigin option (#17563)
Co-authored-by: John Hunter <john.hunter@arenko.group>
2024-07-02 18:06:28 +08:00
Bjorn Lu
055f1c16e5
fix(lib): remove pure CSS dynamic import (#17601) 2024-07-02 11:49:19 +02:00
Bjorn Lu
dafff4ae6e
fix: lazily evaluate __vite__mapDeps files (#17602) 2024-07-02 11:47:29 +02:00
bluwy
3af02bde7e release: v5.3.2 2024-06-27 23:41:01 +08:00
Dominik G
24c799b121
fix(typescript): correctly expand ${configDir} in tsconfig.json (#17576) 2024-06-27 18:05:20 +08:00
Joseph
61357f67cd
docs: rename cdnjs link (#17565) 2024-06-26 11:48:21 +08:00
renovate[bot]
a33a97f8c3
chore(deps): update all non-major dependencies (#17553)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-24 14:53:16 +08:00
Simon Buchan
2d6672fd8a
chore(deps): update es-module-lexer to 1.5.4 (#17555) 2024-06-24 14:40:55 +08:00
btea
f946c86940
fix(create-vite): target dir contains special characters (#17549) 2024-06-23 22:32:00 +08:00
Simon He
7c06ef07f8
refactor(optimizer): use early continues (#17551) 2024-06-23 22:24:32 +08:00
imfenghuang
a8e2f6fafc
fix(client): uniform variable location (#17528) 2024-06-21 22:00:30 +08:00
bluwy
48b53f28f2 release: create-vite@5.3.0 2024-06-21 14:48:15 +08:00
patak
86cf1b4b49
fix(create-vite): revert eslint 9 upgrade in templates (#17511) 2024-06-18 13:40:50 +02:00
Toño
7b240e408e
fix(create-vite): update tsconfig with moduleDetection true (#17468) 2024-06-18 09:06:11 +02:00
renovate[bot]
6c10662281
chore(deps): update dependency eslint to v9 (#16661)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-18 09:04:59 +02:00
renovate[bot]
bf123f2c62
fix(deps): update all non-major dependencies (#17494)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-18 14:44:29 +08:00
sjtucoder
ec16a5efc0
chore: fix some comments (#17495) 2024-06-17 21:43:45 +08:00
Edvard
1d9bfc006b
feat(create-vite): add help usage (#16390)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-17 15:23:43 +08:00
bluwy
c608e6ac74 release: v5.3.1 2024-06-14 17:17:56 +08:00
Bjorn Lu
6ced135c6f
fix(build): preload treeshaking ignore equal (#17480) 2024-06-14 09:11:22 +00:00
Bjorn Lu
d355568e8d
fix(build): handle preload treeshaking for braces (#17479) 2024-06-14 08:57:06 +00:00
patak
1f09344b57
chore: consolidate changelog for 5.3 (#17476) 2024-06-14 15:41:27 +08:00
Bjorn Lu
3e27071220
fix(build): handle preload treeshaking for commas (#17472) 2024-06-14 08:43:14 +02:00
bluwy
29a260cb16 release: v5.3.0 2024-06-13 20:49:59 +08:00
Phil Bates
cf3f40cd38
feat(create-vite): use "solution" tsconfig so that vite.config.ts is type checked (#15913)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-06-13 20:46:57 +08:00
gtmnayan
0a76652c33
fix(ssrTransform): handle arbitrary module namespace identifiers (#17446) 2024-06-13 17:36:20 +08:00
Bjorn Lu
f16fae582b
test: disable isolate for unit test (#17448) 2024-06-13 17:10:18 +08:00
btea
ec287f8142
feat: asset type add bmp (#17439) 2024-06-11 16:17:11 +02:00
hmt
68aa9f8e21
fix: typo in client log (#17363) 2024-06-10 22:31:22 +02:00
bluwy
7176c904e2 release: v5.3.0-beta.2 2024-06-10 23:15:11 +08:00
Elias Papavasileiou
2207a68d93
fix: gracefully shutdown preview server on SIGTERM (fix #12990) (#17333) 2024-06-10 23:10:11 +08:00
Arnaud Barré
6db2515437
build: use esbuild to speedup building vite package (#17299) 2024-06-10 22:58:21 +08:00
renovate[bot]
4453d3578b
fix(deps): update all non-major dependencies (#17430)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-06-10 22:40:16 +08:00
renovate[bot]
507b3defd3
chore(deps): update dependency @rollup/plugin-commonjs to v26 (#17431)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-10 21:30:52 +08:00
Ryuya Yanagi
e04193f26b
chore: add error recovery option to LightningCSSOptions (#17420) 2024-06-10 15:18:20 +02:00
Ferdinand Thiessen
a52ed1d640
fix(css): ensure order of extracted CSS (#16588) 2024-06-10 11:34:12 +02:00
bluwy
feae09fdfa release: v5.3.0-beta.1 2024-06-07 19:52:15 +08:00
sun0day
f43f71f224
fix(build): allow dynamic import treeshaking when injecting preload (#14221)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-06 16:29:24 +02:00
shYkiSto
687c38be86
fix(ssr): resolve interlocking circular dependency issues (#15395)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-06 16:21:19 +02:00
翠 / green
67ff94b70c
fix(ssr): remove pure CSS dynamic import (#17371) 2024-06-06 14:51:35 +08:00
btea
a8c7083a3d
chore: add region comment (#17370) 2024-06-03 14:20:27 +00:00
Mikhail Avdeev
b3f5bd17e2
fix(css): handle lightningcss minification in Deno (#17372) 2024-06-03 20:27:32 +08:00
Bjorn Lu
6fbb5e0a03
fix(css): handle url replacing when preprocessing with lightningcss (#17364) 2024-06-03 08:27:39 +02:00
renovate[bot]
f2d52f1384
chore(deps): update all non-major dependencies (#17373) 2024-06-03 08:25:55 +02:00
Dominik G
4835e2bf77
feat(typescript): update tsconfck to add support for ${configDir} replacement in ts 5.5 (#17350) 2024-05-31 12:21:46 +08:00
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