Commit Graph

77 Commits

Author SHA1 Message Date
renovate[bot]
5552583a22
fix(deps): update all non-major dependencies (#18345)
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-10-15 16:13:43 +09:00
Hiroshi Ogawa
391bb4917b
fix(worker): handle self reference url worker in dependency for build (#17846) 2024-08-15 20:11:36 +09: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
风痕
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
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
翠 / 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
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
patak
fc2bceb09f
test: consolidate spec names in all playgrounds (#15718) 2024-01-26 08:25:41 +01:00
Bjorn Lu
0cacfadf3a
perf: avoid parseRequest (#15617) 2024-01-16 11:00:19 +01:00
Arnaud Barré
4d1342ebe0
feat: build.assetsInlineLimit callback (#15366) 2024-01-12 08:56:23 +00:00
Bjorn Lu
953e697ea4
feat(glob-import): deprecate as option (#14420) 2024-01-08 20:28:11 +01:00
Bjorn Lu
a621de8dc5
fix: update javascript mime type to text/javascript (#15427) 2024-01-08 16:05:12 +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
Bjorn Lu
2687dbbd4e
fix(worker): prevent inject esm in classic workers (#14918) 2023-11-09 10:33:25 +01:00
翠 / green
1426f57415
test: use isPreview instead of previewBase (#14878) 2023-11-06 09:32:24 +01: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
dee6067ec7
feat!: rollup v4 (#14508) 2023-10-18 00:54:47 +08:00
翠 / green
bf3cc83929
test: cleanup testConfig.baseRoute and use testConfig.previewBase (#14475) 2023-10-03 19:13:03 +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
sun0day
ab5c421571
test(worker): correct sourcemap boundary after injecting env (#14277) 2023-09-08 12:39:52 +08:00
ihch
1f214a4df0
feat(worker): support a way to name the worker (#14032) 2023-08-24 19:30:22 +09:00
patak
8f109a67bd
test: fix playground config variants (#13725) 2023-07-07 13:09:18 +02:00
翠 / green
eeb0617bed
fix: call tryFsResolve for relative new URL(foo, import.meta.url) (#13142) 2023-05-10 14:58:02 +02:00
fi3ework
a8c7eb24a2
test: migrate playgrounds to ESM (#13094) 2023-05-09 11:33:34 +02:00
patak
fa3087933d
fix: build time deps optimization, and ensure single crawl end call (#12851) 2023-04-14 17:21:33 +02:00
翠 / green
ddefc064ba
fix(worker): asset in iife worker and relative base (#12697) 2023-04-07 18:55:15 +02:00
sun0day
466b6e9419
test(worker): add test for not emitting worker manifest (#12705) 2023-04-03 09:44:02 +02:00
sun0day
65f5ed2e35
fix(worker): worker import.meta.url should not depends on document in iife mode (#12629)
Co-authored-by: 翠 / green <green@sapphi.red>
2023-04-02 10:58:15 +02:00
翠 / green
8288ce6a50
test: don't share cacheDir among different configs (#12625) 2023-03-28 10:37:38 +02:00
Wei
79a500726f
fix(worker): using data URLs for inline shared worker (#12014)
Co-authored-by: 翠 / green <green@sapphi.red>
2023-03-18 07:29:54 +00:00
Wei
f6fdc56acd
refactor(playground): move to ESM module and add type check for config (#12131) 2023-02-28 15:56:51 +01:00
Lioness100
ee1a686abf
chore: fix typos (#12032) 2023-02-12 18:09:49 +01:00
翠 / green
e58a4f00e2
chore: enable @typescript-eslint/ban-ts-comment (#11326) 2022-12-12 11:59:02 +01:00
翠 / green
51ceb4ee5c
test: remove jsx plugin from worker playground (#11177) 2022-12-06 15:18:13 +09:00
翠 / green
5170e44920
chore: rename test packages (#11172) 2022-12-04 10:20:45 +01:00
Arnaud Barré
134ce68179
chore: enable prettier trailing commas (#11167) 2022-12-04 08:19:06 +01:00
patak
5935619d85
refactor: move framework plugins out of core (#11158) 2022-12-03 11:36:08 +01:00
patak
cc2adb3925
feat: align default chunk and asset file names with rollup (#10927) 2022-11-17 11:35:50 +01:00
翠 / green
fc007dfba2
perf: regexp perf issues, refactor regexp stylistic issues (#10905)
fix https://github.com/vitejs/vite/issues/10900
2022-11-14 12:23:27 +00:00
patak
78c77beb5b
refactor: use rollup hashing when emitting assets (#10878) 2022-11-13 17:13:45 +01:00
yoho
78f74c99d2
fix: isFromTsImporter flag in worker virtual model (#10273) 2022-09-28 14:56:00 +02:00
Jeff Yang (Nay Thu Ya Aung)
66c90585e2
fix(worker): support comment in worker constructor option (#10226) 2022-09-24 21:32:59 +08:00
Kyle Herock
bafccf52aa
feat(assets): allow new URL to resolve package assets (#7837) 2022-09-23 17:31:18 +02:00
yoho
0cb01ca578
feat: dynamic import support ?url and ?worker (#8261) 2022-09-23 11:55:55 +02:00
Bjorn Lu
0542e7c7c0
fix(worker): support trailing comma (#10211) 2022-09-23 09:10:31 +02:00
Percy Ma
9f8d79b989
chore: use pnpm shell-emulator instead of cross-env (#10023) 2022-09-07 10:00:54 +02:00
zoomdong
1cf5c78358
chore: remove vitest global options (#9620) 2022-08-12 07:05:13 +02:00
翠 / green
6d952252c7
fix: avoid using import.meta.url for relative assets if output is not ESM (fixes #9297) (#9381) 2022-08-09 18:34:33 +02:00