Commit Graph

622 Commits

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