Commit Graph

907 Commits

Author SHA1 Message Date
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
Vladimir
57463fc53f
fix(runtime): runtime HMR affects only imported files (#15898) 2024-02-22 14:23:27 +01:00
翠 / green
4144781fbc
fix(scanner): respect experimentalDecorators: true (#15206) 2024-02-21 14:32:29 +01:00
Hiroshi Ogawa
aff54e1d5e
fix: __vite__mapDeps code injection (#15732) 2024-02-21 21:05:09 +08:00
翠 / green
a839c14b19
fix(css): import using imports field in CS was not resolved (#15985)
Co-authored-by: Hiroshi Ogawa <hi.ogawa.zz@gmail.com>
2024-02-20 14:07:48 +01:00
翠 / green
4fe971fda3
fix: resolve directory correctly when fs.cachedChecks: true (#15983) 2024-02-20 14:05:07 +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
翠 / green
63a39c244b
refactor(runtime): minor tweaks (#15904) 2024-02-14 16:16:55 +01: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
Hiroshi Ogawa
ea091853e0
test: remove unnecessary NODE_ENV override (#15738) 2024-02-12 09:31:28 +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
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
Vladimir
8b3ab07718
feat: experimental Vite Runtime API (#12165) 2024-02-01 12:59:21 +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
fc2bceb09f
test: consolidate spec names in all playgrounds (#15718) 2024-01-26 08:25:41 +01:00
patak
814ad7ce0a
test: fix proxy-bypass and proxy-hmr ports (#15716) 2024-01-26 06:15:31 +01:00
patak
a05c70977a
feat: enable fs.cachedChecks by default (#15704) 2024-01-25 12:06:01 +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
翠 / green
acd795f552
perf: use thread for preprocessors (#13584) 2024-01-22 10:27:09 +00:00
Bjorn Lu
639bbd65c0
fix(ssr): support externalized builtins for webworker (#15656) 2024-01-19 17:08:40 +01:00
Bjorn Lu
526cf23410
fix(ssr): mark builtin modules as side effect free (#15658) 2024-01-19 16:19:35 +01:00
patak
89be67de47
fix: fs deny for case insensitive systems (#15653) 2024-01-19 14:02:51 +01:00
Vladimir
bf1e9c2fd7
feat: support multiple HMR clients on the server (#15340) 2024-01-16 20:49:24 +01:00
Bjorn Lu
dfcb83d41a
fix(css): track dependencies from addWatchFile for HMR (#15608) 2024-01-16 20:46:32 +01:00
renovate[bot]
109fb805fd
fix(deps): update all non-major dependencies (#15603)
Co-authored-by: patak <matias.capeletto@gmail.com>
2024-01-16 15:22:49 +01:00
Bjorn Lu
0cacfadf3a
perf: avoid parseRequest (#15617) 2024-01-16 11:00:19 +01:00
Hiroshi Ogawa
af2aa09575
fix(ssr): externalize network imports during ssrLoadModule (#15599) 2024-01-15 16:50:47 +00:00
patak
757844f0bd
refactor: remove build time pre-bundling (#15184)
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2024-01-15 14:29:54 +01:00
翠 / green
ed56d96cec
fix(css): .css?url support (#15259) 2024-01-12 09:07:22 +00:00
patak
67a50f17a0
test: fixed port for lib dev test (#15580) 2024-01-12 10:02:01 +01:00
Arnaud Barré
4d1342ebe0
feat: build.assetsInlineLimit callback (#15366) 2024-01-12 08:56:23 +00:00
renovate[bot]
ab56227d89
fix(deps): update all non-major dependencies (#15375)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-01-11 23:17:16 +08:00
Bjorn Lu
a1f80822ea
chore: use eslint-plugin-i (#15569) 2024-01-11 14:21:58 +01:00
patak
ce5a2edbce
test: ignore net:ERR_ABORTED on flacky html proxy encoded test (#15562) 2024-01-11 07:43:34 +01:00
smeng9
21a52e65b5
fix(css): skip url replace for function calls (#15544) 2024-01-10 15:19:38 +08:00
smeng9
8ccf7222e9
fix(css): @import with .css in node_modules importing a different package failed to resolve (#15000)
Co-authored-by: Shaoyu Meng <shaoyu>
Co-authored-by: 翠 / green <green@sapphi.red>
2024-01-08 22:51:14 +01:00
Bjorn Lu
953e697ea4
feat(glob-import): deprecate as option (#14420) 2024-01-08 20:28:11 +01:00
Bjorn Lu
6ace32b41d
feat(hmr): reload for circular imports only if error (#15118) 2024-01-08 18:18:55 +01:00
Bjorn Lu
a621de8dc5
fix: update javascript mime type to text/javascript (#15427) 2024-01-08 16:05:12 +01:00
Dunqing
f8c6a341fb
fix(sourcemap): sourcemap is incorrect when sourcemap has sources: [null] (#14588)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-01-08 15:17:12 +01:00
Hiroshi Ogawa
d2aa0969ee
fix: inject __vite__mapDeps code before sourcemap file comment (#15483) 2024-01-02 17:00:49 +09:00
Bjorn Lu
5ea9edbc9c
fix(html): handle offset magic-string slice error (#15435) 2024-01-01 12:00:47 +08:00
이채준 - CJ Lee
1bbff16ff8
fix(build): use base64 for inline SVG if it contains both single and double quotes (#15271) 2023-12-15 16:35:39 +01:00
Senao
08d093cb7d
fix(worker): replace import.meta correctly for IIFE worker (#15321)
Co-authored-by: 翠 / green <green@sapphi.red>
2023-12-12 15:57:42 +01:00
patak
c9b61c47b0
perf: cached fs utils (#15279) 2023-12-12 10:32:51 +01:00
renovate[bot]
bb07f605cc
fix(deps): update all non-major dependencies (#15304) 2023-12-12 09:22:43 +01:00
Nick De Villiers
ea6a7a6eb8
fix(build): decode urls in CSS files (fix #15109) (#15246) 2023-12-12 06:53:01 +01:00
Bjorn Lu
8ad81b470c
fix(html): skip inlining icon and manifest links (#14958)
Co-authored-by: 翠 / green <green@sapphi.red>
2023-12-06 22:08:44 +08:00
patak
275ca5a6e2
test: missing __dirname in playground (#15243) 2023-12-06 01:31:59 +09:00
Bjorn Lu
002d5c07e9
chore: remove unused test files (#15239) 2023-12-06 01:29:41 +09:00
renovate[bot]
ad3adda721
fix(deps): update all non-major dependencies (#15233) 2023-12-04 09:54:15 +01:00
翠 / green
0348137a23
refactor: use dedicated regex methods (#15228) 2023-12-03 13:37:17 +01:00
patak
5b85040481
fix: proxy html path should be encoded (#15223) 2023-12-03 11:09:40 +01:00
翠 / green
4380b82310
test: reduce optimize-deps playground flaky fail (#15205) 2023-12-02 15:40:45 +01:00
翠 / green
d8001c5463
fix: emit vite:preloadError for chunks without deps (#15203) 2023-12-01 14:21:51 +01:00
翠 / green
2fce647eda
chore: update vitest to 1.0.0-beta.6 (#15194) 2023-11-30 15:37:46 +01:00
Dominik G
4a111aafd5
fix(resolve): respect order of browser in mainFields when resolving (#15137) 2023-11-29 11:52:39 +01:00
patak
793cebd2ee
test: avoid magic number on cli playground spec (#15168) 2023-11-29 11:52:10 +01:00
patak
9474c4be27
feat: preserve vite.middlewares connect instance after restarts (#15166) 2023-11-29 11:44:06 +01:00
Bjorn Lu
ec401da074
fix(define): allow define process.env (#15173) 2023-11-29 10:37:05 +01:00
patak
642f9bcb5d
refactor: align with Promise.withResolvers() (#15171) 2023-11-29 08:13:27 +01:00
翠 / green
811e392b77
fix(css): use non-nested chunk name if facadeModule is not CSS file (#15155) 2023-11-28 15:36:57 +01:00
翠 / green
ef403c0e61
fix(css): render correct asset url when CSS chunk name is nested (#15154) 2023-11-27 09:21:53 +01:00
renovate[bot]
7ff2c0afe8
chore(deps): update all non-major dependencies (#15145) 2023-11-27 12:15:40 +08:00
翠 / green
fd31412131
test: skip unicode test on windows instead of lowering the Node version (#15096) 2023-11-22 11:15:57 +01:00
翠 / green
6fcceebe34
fix: make htmlFallback more permissive (#15059) 2023-11-21 13:27:41 +00:00
lsdsjy
47551a6f32
fix(legacy): preserve async generator function invocation (#15021) 2023-11-21 13:00:58 +01:00
Adam Koppe
b9ee620108
fix(legacy): error in build with --watch and manifest enabled (#14450)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2023-11-20 09:22:29 +01:00
Bjorn Lu
a0ab85bdf4
fix: handle addWatchFile in load hooks (#14967) 2023-11-13 19:06:58 +01:00
renovate[bot]
0bb3995a7d
fix(deps): update all non-major dependencies (#14961)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-11-13 09:25:20 +01:00
翠 / green
28ccede525
fix(css): correctly set manifest source name and emit CSS file (#14945) 2023-11-11 23:00:12 +08:00
翠 / green
b24b95119b
fix: add watch in fallback file load (#14938) 2023-11-10 10:00:22 +00:00
Arnaud Barré
60a020e592
feat(hmr): add full reload reason (#14914) 2023-11-10 08:59:09 +01:00
Bjorn Lu
2687dbbd4e
fix(worker): prevent inject esm in classic workers (#14918) 2023-11-09 10:33:25 +01:00
patak
e49ef028bb
docs(ssr): properly handle vite.middlewares after restart (#14917)
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-11-09 09:53:37 +01:00
patak
84c5ff6944
fix: injectQuery check with double slash in the url (#14910) 2023-11-09 09:25:02 +01:00
Bjorn Lu
b47905577a
feat(hmr): improve circular import updates (#14867) 2023-11-08 17:01:37 +09:00
patak
b5653d3075
fix(build): mixed external and transpiled srcset (#14888) 2023-11-07 10:01:48 +01:00
patak
bd4d29f9fc
fix: resovedUrls is null after server restart (#14890) 2023-11-07 08:14:47 +00:00
patak
0873bae0cf
fix: processNodeUrl for srcset (#14870) 2023-11-06 10:40:25 +00:00
翠 / green
1426f57415
test: use isPreview instead of previewBase (#14878) 2023-11-06 09:32:24 +01:00
renovate[bot]
e5094e5bf2
fix(deps): update all non-major dependencies (#14883)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-11-06 13:18:58 +08:00
翠 / green
6516607c0b
chore: revert "fix: don't add ?import for @vite-ignoreed import (#14851)" (#14866) 2023-11-03 08:46:35 +01:00
翠 / green
42fee9ee87
fix: don't add ?import for @vite-ignoreed import (#14851) 2023-11-02 14:29:48 +01:00
Bjorn Lu
275907b6a3
refactor: simplify build optimizer node_env handling (#14829) 2023-11-02 00:14:33 +08:00
Bjorn Lu
72340211d3
refactor(esbuild)!: remove esbuild 0.17 -> 0.18 compat (#14804) 2023-10-30 16:58:27 +00:00
Bjorn Lu
4f71ae8736
fix(html)!: align html serving between dev and preview (#14756)
Co-authored-by: 翠 / green <green@sapphi.red>
2023-10-30 21:57:15 +08:00
renovate[bot]
d5d96e7127
fix(deps): update all non-major dependencies (#14729)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-10-28 23:33:46 +08:00
Bjorn Lu
d6d1ef156a
fix(html): ignore rewrite external urls (#14774) 2023-10-27 17:09:14 +08:00
Bjorn Lu
e4c801c552
feat(define): handle replacement with esbuild (#11151)
Co-authored-by: Tony Trinh <tony19@gmail.com>
2023-10-26 11:30:05 +08:00
Bjorn Lu
4150bcb0bd
perf(hmr): implement soft invalidation (#14654) 2023-10-25 22:58:01 +08:00
Bjorn Lu
43cc3b9e6d
feat(resolve)!: remove resolve.browserField (#14733) 2023-10-24 22:28:53 +08:00
Bjorn Lu
d520388fca
fix(resolve): make directory package.json check best effort (#14626) 2023-10-23 09:59:34 +02:00
Bjorn Lu
eef4aaa063
fix(assets): fix svg inline in css url (#14714) 2023-10-20 12:53:45 +00:00
Bjorn Lu
5786837a02
feat!: remove ssr proxy for externalized modules (#14521) 2023-10-19 17:59:11 +08:00
Arnaud Barré
7acb016fbb
fix(hmr): clean importers in module graph when file is deleted (#14315) 2023-10-19 17:49:40 +08:00
patak
9d09dfe539
fix!: worker.plugins is a function (#14685)
Co-authored-by: jamsinclair <jamsinclair@users.noreply.github.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2023-10-19 11:36:24 +02:00
Arnaud Barré
5acda5e10a
feat(build)!: inline SVGs (#14643) 2023-10-19 15:36:29 +08:00
翠 / green
6ebac4c007
chore: reduce test flakiness (#14684) 2023-10-19 15:38:06 +09:00
Bjorn Lu
dd610b5f77
fix(assets): make timestamp invalidation lazy (#14675) 2023-10-18 17:15:57 +08:00
Arnaud Barré
f627b91c23
fix(manifest): include assets referenced in html (#14657) 2023-10-18 12:52:36 +08:00
翠 / green
dee6067ec7
feat!: rollup v4 (#14508) 2023-10-18 00:54:47 +08:00
Arnaud Barré
40ee2457a7
fix(hmr): add timestamp for assets in dev (#13371) 2023-10-17 18:39:08 +02:00
翠 / green
4496ae7883
fix(html): srcset pointing image in public dir wasn't working during dev (#14663) 2023-10-17 09:32:53 +02:00
翠 / green
3c16b71d4f
test: reduce ssr-conditions test flakiness (#14662) 2023-10-17 08:56:19 +02:00
Bjorn Lu
da80372ef5
feat: add server.warmup option (#14291) 2023-10-16 23:53:47 +08:00
Bjorn Lu
3e264ef30d
test(hmr): improve #3033 fix description (#14645) 2023-10-16 12:48:52 +02:00
renovate[bot]
21017a9408
fix(deps): update all non-major dependencies (#14635)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2023-10-16 10:16:31 +02:00
Dunqing
f2aadb043f
chore: remove server.host option for e2e test (#14606) 2023-10-14 20:05:58 +09:00
Dunqing
1243c2f1cc
test: update test for inline sourcemap (#14597) 2023-10-14 19:53:21 +09:00
이채준 - CJ Lee
cd82648b0f
test(optimizer): remove long named file that cause OS error on Windows (#14608) 2023-10-13 09:23:21 +02:00
Artur
40fd2d9bf4
fix!: return 404 for resources requests outside the base path (#5657)
Co-authored-by: sapphi-red <green@sapphi.red>
2023-10-12 20:22:36 +02:00
翠 / green
ea47b8fa51
fix(html): import expression in classic script for dev (#14595) 2023-10-12 13:08:47 +02:00
翠 / green
a4a17b8e3e
fix(html): inline style attribute not working in dev (#14592) 2023-10-12 10:33:07 +02:00
翠 / green
0a38e3b395
fix(html): relative paths without leading dot wasn't rewritten (#14591) 2023-10-12 09:06:11 +02:00
vincer2040
31333bbb77
feat: add off method to ViteHotContext (issue #14185) (#14518) 2023-10-11 22:57:37 +08:00
Dunqing
261633a1a1
fix(proxy): correct the logic of bypass returning false (#14579) 2023-10-11 09:07:24 +02:00
이채준 - CJ Lee
a3b6d8da6b
fix(optimizer): limit bundled file name length to 170 characters (#14561)
Co-authored-by: patak <matias.capeletto@gmail.com>
2023-10-10 16:01:41 +08:00
Gajus Kuizinas
6f12fd8bd2
perf: reduce preload marker markup size (#14550) 2023-10-10 15:51:56 +08:00
三咲智子 Kevin Deng
8d18a91012
refactor!: remove jest condition (#14544) 2023-10-09 20:13:35 +08:00
renovate[bot]
6868480d00
fix(deps): update all non-major dependencies (#14559) 2023-10-09 08:25:29 +00:00
翠 / green
5004d004e7
fix(lib): esbuild helper functions injection not working with named exports (#14539) 2023-10-09 16:10:39 +08:00
Aleen
e7d7a6f4ee
fix(legacy)!: should rename x.[hash].js to x-legacy.[hash].js (#11599)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-10-06 11:55:09 +02:00
Marc MacLeod
d0afc3948b
feat(ssr): support for ssr.resolve.conditions and ssr.resolve.externalConditions options (#14498) 2023-10-05 16:54:06 +08:00
renovate[bot]
eb204fd3c5
fix(deps): update all non-major dependencies (#14510)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2023-10-04 16:45:17 +08:00
翠 / green
21ae371692
test: fix flaky legacy structuredClone fail (#14522) 2023-10-03 14:01:44 +02:00
翠 / green
bf3cc83929
test: cleanup testConfig.baseRoute and use testConfig.previewBase (#14475) 2023-10-03 19:13:03 +09:00
André Costa
f80ff77a43
fix(resolve): support submodules of optional peer deps (#14489) 2023-10-02 16:51:40 +08:00
sapphi-red
fddc1518d1 fix(preview): allow path containing . to fallback to index.html 2023-09-29 14:42:06 +02:00
sapphi-red
dae6d0aa63 fix: allow path ending with .html to fallback to index.html 2023-09-29 14:42:06 +02:00
Dunqing
ec7ee22cf1
fix(analysis): warnings for dynamic imports that use static template literals (#14458)
Co-authored-by: 翠 / green <green@sapphi.red>
2023-09-28 07:30:24 +00:00
翠 / green
2de425d028
test: fix "WebSocket server error: Port is already in use" happening in json playground (#14476) 2023-09-26 14:33:30 +02:00
Bjorn Lu
99b0645c4c
fix(import-analysis): preserve importedUrls import order (#14465) 2023-09-26 10:18:16 +02:00
Kyℓe Hensel
27e5b1114c
fix(legacy): fix broken build when renderModernChunks=false & polyfills=false (fix #14324) (#14346) 2023-09-26 16:43:08 +09:00
翠 / green
669a38d61d
test: tweak lib helpers inject to test "use strict" (#14452) 2023-09-25 14:56:01 +08:00
renovate[bot]
b77bff0b93
fix(deps): update all non-major dependencies (#14460)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-09-25 15:36:37 +09:00
renovate[bot]
68638f7b0b
fix(deps): update all non-major dependencies (#14092)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-09-19 15:52:21 +08:00
翠 / green
74fa024db4
fix!: put manifest files in .vite directory by default (#14230) 2023-09-18 17:40:49 +09:00
翠 / green
e9b1e85ab9
feat: use import.meta.url instead of self.location (#14377) 2023-09-15 18:04:44 +08:00
Bjorn Lu
55a3b4fb2b
fix(sourcemap): dont inject fallback sourcemap if have existing (#14370) 2023-09-15 18:22:47 +09:00
Gaubee
7371c5caac
fix(worker): inline es worker does not work in build mode (#14307)
Co-authored-by: sapphi-red <green@sapphi.red>
2023-09-15 16:58:36 +09:00
sapphi-red
21bbceb800 fix(resolve): support pkg?query 2023-09-15 16:54:27 +09:00
sapphi-red
fc054542a3 feat(css): stop injecting ?used 2023-09-15 16:54:27 +09:00
sapphi-red
b6c44cd693 feat(css)!: remove css default export 2023-09-15 16:54:27 +09:00
翠 / green
a99590762d
fix: use relative path for sources field (#14247) 2023-09-10 21:46:18 +09:00
Bjorn Lu
19bf0f1d0b
fix(css): reset render cache on renderStart (#14326) 2023-09-08 09:07:46 +02:00
sun0day
ab5c421571
test(worker): correct sourcemap boundary after injecting env (#14277) 2023-09-08 12:39:52 +08:00
翠 / green
4fb617f0f5
chore: remove unused packages (#14310) 2023-09-07 17:17:39 +09:00
sun0day
2b80089491
fix(css): remove pure css chunk sourcemap (#14290) 2023-09-05 20:27:52 +02:00
翠 / green
627159d59b
fix: handle sourcemap correctly when multiple line import exists (#14232) 2023-08-29 15:22:41 +02:00
宋铄运 (Alan Song)
91a18c2f7d
fix: use string manipulation instead of regex to inject esbuild helpers (#14094) 2023-08-25 12:50:38 +09:00
翠 / green
1ae4cbd20f
feat!: allow path containing . to fallback to index.html (#14142) 2023-08-24 13:04:19 +02:00
ihch
1f214a4df0
feat(worker): support a way to name the worker (#14032) 2023-08-24 19:30:22 +09:00
翠 / green
0156bd2cd7
fix: breakpoints in JS not working (#13514) 2023-08-22 21:31:25 +09:00
patak
443c235bee
feat: copyPublicDir out of experimental (#14051) 2023-08-21 17:51:26 +08:00
翠 / green
7f302bcafb
chore(deps): update miniflare to v3 (#14107) 2023-08-21 17:50:04 +08:00
Naru
f97ef58787
chore: use "kB" everywhere with the correct definition (#14061) 2023-08-21 16:16:05 +08:00
Aleen
fd9a2ccdf2
feat(css): build assets with the entry name when it is an entry point (#11578)
Co-authored-by: sapphi-red <green@sapphi.red>
2023-08-20 01:23:21 +09:00
翠 / green
86cbf6977d
fix(glob): trigger HMR for glob in a package (#14117) 2023-08-16 16:48:43 +02:00
Prana Adiwira
7682a625fd
fix(css): trim esbuild's minified css (#13893) 2023-08-16 07:45:59 +02:00
Bjorn Lu
2c1a45c86c
feat!: bump minimum node version to 18 (#14030) 2023-08-15 15:28:17 +02:00
翠 / green
0768625ada
test: remove plugin-vue from tailwind playground (#14073) 2023-08-14 11:51:05 +02:00
renovate[bot]
b0ebf5c69d
chore(deps): update all non-major dependencies (#14034) 2023-08-07 16:08:41 +02:00
Bjorn Lu
4021a0e214
chore: fix eslint warnings (#14031) 2023-08-07 11:03:39 +02:00
patak
4479431312
fix: dynamic import vars ignored warning (#14006) 2023-08-07 15:27:05 +08:00
renovate[bot]
a1b519e2c7
chore(deps): update all non-major dependencies (#13938)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-08-06 16:36:01 +08:00
disservin
7a77aaf28b
fix(build): silence warn dynamic import module when inlineDynamicImports true (#13970) 2023-08-01 10:58:39 +02:00