Commit Graph

34 Commits

Author SHA1 Message Date
Hiroshi Ogawa
228e056c46
test: remove runInBuild flag from withRetry and untilUpdated helpers (#18699) 2024-11-19 12:01:20 +09:00
sunnylost
2a391a7df6
fix(dynamicImportVars): correct glob pattern for paths with parentheses (#17940)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-09-09 16:10:58 +02:00
Bjorn Lu
4be96b48bc
fix(build): skip preload treeshaking for nested braces (#17687) 2024-07-15 15:06:07 +02:00
Bjorn Lu
d355568e8d
fix(build): handle preload treeshaking for braces (#17479) 2024-06-14 08:57:06 +00:00
Bjorn Lu
3e27071220
fix(build): handle preload treeshaking for commas (#17472) 2024-06-14 08:43:14 +02:00
sun0day
f43f71f224
fix(build): allow dynamic import treeshaking when injecting preload (#14221)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-06 16:29:24 +02:00
Bjorn Lu
bb79c9b653
fix(preload): skip preload for non-static urls (#16556) 2024-04-30 10:18:56 +02:00
Bjorn Lu
a621de8dc5
fix: update javascript mime type to text/javascript (#15427) 2024-01-08 16:05:12 +01:00
patak
84c5ff6944
fix: injectQuery check with double slash in the url (#14910) 2023-11-09 09:25:02 +01: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
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
patak
4479431312
fix: dynamic import vars ignored warning (#14006) 2023-08-07 15:27:05 +08:00
fi3ework
127c334436
feat(build): warn dynamic import module with a static import alongside (#12850) 2023-06-10 13:40:25 +02:00
fi3ework
a8c7eb24a2
test: migrate playgrounds to ESM (#13094) 2023-05-09 11:33:34 +02:00
Bjorn Lu
06afbfb5d6
test(dynamic-import): fix multiline test (#12996) 2023-04-25 14:52:59 +02:00
Wei
f6fdc56acd
refactor(playground): move to ESM module and add type check for config (#12131) 2023-02-28 15:56:51 +01: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
yoho
0cb01ca578
feat: dynamic import support ?url and ?worker (#8261) 2022-09-23 11:55:55 +02:00
Dunqing
c6870f3716
fix: dynamic import path contain ../ and its own directory (#9350) 2022-08-16 21:13:37 +02:00
zoomdong
1cf5c78358
chore: remove vitest global options (#9620) 2022-08-12 07:05:13 +02:00
翠 / green
9e9cd23763
chore: node prefix lint (#9514) 2022-08-03 22:57:50 +09:00
Bjorn Lu
e66cf69cc2
fix: support multiline dynamic imports (#9314) 2022-07-23 09:09:45 +02:00
patak
188f1881eb
feat: improved cold start using deps scanner (#8869) 2022-07-04 10:43:11 +02:00
翠 / green
6673b3e68f
chore: set node/no-unsupported-features version (#8388) 2022-05-29 19:34:03 +02:00
yoho
356b896998
fix: sourcemap source point to null (#8299) 2022-05-29 17:29:46 +02:00
yoho
505f75edbb
fix: dev sourcemap (#8269) 2022-05-22 09:05:16 +02:00
Bjorn Lu
a8b22b63ba
chore: remove patch file deps hack (#8138) 2022-05-12 09:18:59 +02:00
Anthony Fu
d2874827f7
test: improve dx for tests (#8112) 2022-05-11 17:03:19 +08:00
yoho
80d113b1d6
feat: rework dynamic-import-vars (#7756)
Co-authored-by: Anthony Fu <anthonyfu117@hotmail.com>
Co-authored-by: Bjorn Lu <bjornlu.dev@gmail.com>
2022-05-10 11:42:29 +02:00
Anthony Fu
875fc116a0
chore: move playground to root (#8072) 2022-05-09 09:36:14 +02:00
Evan You
cb9f750e88 refactor: re-organize into monorepo 2020-12-06 18:21:10 -05:00
Evan You
fc59642b13 feat: support variable interpolation in dynamic imports
close #339
2020-06-04 18:26:15 -04:00