Commit Graph

594 Commits

Author SHA1 Message Date
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
patak
488085d631
fix: modulePreload false (#13973) 2023-07-31 11:52:56 +02:00
Xinxin He
1ab06a86fc
fix(importAnalysis): strip url base before passing as safeModulePaths (#13712)
Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2023-07-29 20:28:40 +02:00
Bjorn Lu
b9a8d65fd6
perf: use magic-string hires boundary for sourcemaps (#13971) 2023-07-29 15:56:48 +02:00
sun0day
844451c015
fix(importMetaGlob): avoid unnecessary hmr of negative glob (#13646)
Co-authored-by: fuhao.xu <fuhao.xu@yitu-inc.com>
2023-07-28 15:03:36 +02:00
patak
89a3db0d9f
fix: multiple entries with shared css and no JS (#13962) 2023-07-28 11:50:31 +02:00
Hugo Nogueira
6b5609424c
fix: lightningcss fails with html-proxy (#13776)
Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
2023-07-24 14:55:08 +02:00
翠 / green
883089c10d
fix(html): support import.meta.env define replacement without quotes (#13425) 2023-07-24 20:10:38 +08:00
patak
1292ad08a0
test: restrict iife helpers injection (#13918) 2023-07-23 20:23:52 +02:00
renovate[bot]
5a56941a89
chore(deps): update dependency prettier to v3 (#13759)
Co-authored-by: Arnaud Barré <arnaud.barre@carbometrix.com>
2023-07-19 09:53:25 +02:00
Haoqun Jiang
c971f26e45
fix(types): narrow down the return type of defineConfig (#13792) 2023-07-17 11:35:12 +02:00
renovate[bot]
975a631ec7
fix(deps): update all non-major dependencies (#13872) 2023-07-17 11:34:28 +02:00
Bjorn Lu
e8880f0719
fix(esbuild): enable experimentalDecorators by default (#13805) 2023-07-13 14:51:58 +02:00
이채준 - CJ Lee
85bdcda747
feat(client): close vite-error-overlay with Escape key (#13795) 2023-07-13 20:41:34 +08:00