Commit Graph

702 Commits

Author SHA1 Message Date
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