Commit Graph

874 Commits

Author SHA1 Message Date
renovate[bot]
0ca53cff9f
chore(deps): update all non-major dependencies (#17991)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-02 11:20:05 +08:00
Hiroshi Ogawa
d428e7e3a0
fix(css): fix sass modern source map (#17938) 2024-09-01 23:27:03 +08:00
翠 / green
943ece177e
fix: allow getting URL of JS files in publicDir (#17915) 2024-09-01 23:23:19 +08:00
翠 / green
8ce86833f2
test: fix flaky "should reload" test (#17961) 2024-08-28 09:50:03 +02:00
renovate[bot]
cfb621e7a5
chore(deps): update all non-major dependencies (#17945)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-27 16:18:16 +08:00
Hiroshi Ogawa
561b940f6f
fix(css): fix sass file:// reference (#17909)
Co-authored-by: patak <583075+patak-dev@users.noreply.github.com>
2024-08-22 17:23:02 +08:00
翠 / green
dbd6214f6f
test: fix backend-integration build test flaky fail (#17913) 2024-08-21 15:44:52 +02:00
Hiroshi Ogawa
ed5ecd90fd
test: test server.origin (#17886) 2024-08-20 16:52:19 +09:00
renovate[bot]
3dc23d9aa5
chore(deps): update all non-major dependencies (#17896)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-19 16:08:54 +08:00
翠 / green
fac3a8ed68
fix: resolve relative URL generated by renderBuiltUrl passed to module preload (#16084) 2024-08-15 21:44:34 +08:00
Hiroshi Ogawa
391bb4917b
fix(worker): handle self reference url worker in dependency for build (#17846) 2024-08-15 20:11:36 +09:00
renovate[bot]
d11711c7e4
fix(deps): update all non-major dependencies (#17869)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-08-12 20:12:53 +08:00
smeng9
4e5ce3c7a9
fix(lightningcss): search for assets with correct base path (#17856) 2024-08-11 21:45:03 +09:00
Hiroshi Ogawa
1c9df6188e
test: disable network-imports test (#17835) 2024-08-09 15:19:24 +08:00
Hiroshi Ogawa
029ac0c740
test: fix non-awaited expectWithRetry tests (#17847) 2024-08-09 15:19:17 +08:00
Hiroshi Ogawa
bb4ba9f448
fix(worker): fix importScripts injection breaking iife code (#17827) 2024-08-06 22:08: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
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
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
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
461d37b947
chore: remove fs-extra dev dependency (#17782) 2024-07-29 19:20:03 +08: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
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
Bjorn Lu
df5ceb35b7
chore(deps): update typescript (#17699) 2024-07-22 11:48:47 +08: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
翠 / green
1465b2064e
fix(css): include .css?url in assets field of manifest (#17623) 2024-07-15 23:16:43 +02:00
Bjorn Lu
4be96b48bc
fix(build): skip preload treeshaking for nested braces (#17687) 2024-07-15 15:06:07 +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
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
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
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
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
Bjorn Lu
d355568e8d
fix(build): handle preload treeshaking for braces (#17479) 2024-06-14 08:57:06 +00:00
Bjorn Lu
3e27071220
fix(build): handle preload treeshaking for commas (#17472) 2024-06-14 08:43:14 +02:00
Bjorn Lu
ceb5f43024
test: wait networkidle before assert (#17442) 2024-06-11 16:16:32 +02: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
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
renovate[bot]
f2d52f1384
chore(deps): update all non-major dependencies (#17373) 2024-06-03 08:25:55 +02:00
proc07
416184376e
fix(optimize-deps): don't externalize JS files imported with asset extensions (#16242) 2024-05-30 15:58:10 +09:00
翠 / green
8880bc5a9a
feat(asset): support /*@vite-ignore*/ for new URL(, import.meta.url) (#16590) 2024-05-29 22:17:53 +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
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
翠 / green
804184654b
fix(css): page reload was not happening with .css?raw (#16455) 2024-05-18 15:38:35 +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
翠 / green
65eb48f1c6
test: fix flaky test fail (#16667) 2024-05-13 09:19:18 -07: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
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
翠 / green
c2a4ce5a77
test: don't skip unicode related tests anymore (#16339) 2024-05-07 16:43:33 +08: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
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
renovate[bot]
2d50be2a54
fix(deps): update all non-major dependencies (#16488) 2024-04-23 11:27:54 +02:00
Adam Hines
8e54bbd74d
feat: write cspNonce to style tags (#16419) 2024-04-18 10:54:39 +00:00
Adam Hines
b8726357c9
fix(cspNonce): don't overwrite existing nonce values (#16415) 2024-04-18 09:24:26 +02:00
Hiroshi Ogawa
102c2fd5ad
fix: fix accumulated stacks in error overlay (#16393) 2024-04-13 14:48:08 +00:00
renovate[bot]
58a2938a97
fix(deps): update all non-major dependencies (#16376) 2024-04-08 17:17:01 +02: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
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
21cc10bfda
fix(hmr): multiple updates happened when invalidate is called while multiple tabs open (#16307) 2024-03-29 13:41:49 +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
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
翠 / green
ba5269cca8
fix: fs.deny with globs with directories (#16250) 2024-03-24 13:31:50 +01:00
翠 / green
fbf69d5f6c
fix: dont resolve imports with malformed URI (#16244) 2024-03-23 10:56:58 +01: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
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
patak
98888439e0
feat: formalize waitForRequestsIdle (experimental) (#16135) 2024-03-14 13:52:09 +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
Dunqing
8cd846cdbf
fix(ssr): crash on circular import (#14441) 2024-03-13 15:03:55 +08:00
moui0
2f95c2bd9e
chore(deps): bump rollup to 4.13.0 (#15295) 2024-03-12 22:43:56 +08:00
Hiroshi Ogawa
8e54af67db
fix(ssr): apply alias to resolvable dependencies during dev (#15602) 2024-03-12 22:14:51 +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
Bjorn Lu
17d71ecf74
fix(css): treeshake css modules (#16051) 2024-03-12 21:13:13 +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
翠 / green
30e5ae3616
fix: upgrade esbuild to 0.20.x (#16079) 2024-03-12 21:07:55 +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
翠 / 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
8f74ce4ff3
fix: escape single quote when relative base is used (#16060) 2024-03-05 09:09:59 +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
renovate[bot]
7cfe80d0df
chore(deps): update all non-major dependencies (#16028) 2024-02-27 07:28:14 +01:00