Commit Graph

38 Commits

Author SHA1 Message Date
Hugo ATTAL
9162172e03
feat(asset): add ?inline and ?no-inline queries to control inlining (#15454)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: 翠 / green <green@sapphi.red>
2024-11-04 14:50:15 +00:00
Bjorn Lu
8a7af50b5d
feat(html)!: support more asset sources (#11138) 2024-10-31 08:57:16 +01:00
Evan You
7052c8f6fc
chore: update all url references of vitejs.dev to vite.dev (#18276) 2024-10-04 17:30:11 +08:00
GU Yiling
70813c7f05
fix: asset import should skip handling data URIs (#18163) 2024-09-26 17:21:25 +09:00
sunnylost
413c86aa97
fix(html): rewrite assets url in <template> (#17988) 2024-09-02 22:37:55 +02:00
翠 / green
943ece177e
fix: allow getting URL of JS files in publicDir (#17915) 2024-09-01 23:23:19 +08:00
Stanislav Lashmanov
d906d3f8e1
fix(css): resolve url aliases with fragments (fix: #17690) (#17691)
Co-authored-by: Stanislav Lashmanov <slashmanov@gitlab.com>
2024-07-23 12:59:36 +02:00
翠 / green
8880bc5a9a
feat(asset): support /*@vite-ignore*/ for new URL(, import.meta.url) (#16590) 2024-05-29 22:17:53 +08:00
翠 / green
fbf69d5f6c
fix: dont resolve imports with malformed URI (#16244) 2024-03-23 10:56:58 +01:00
Bjorn Lu
8617e7638e
fix: skip encode if is data uri (#16233) 2024-03-22 13:46:20 +01:00
Philipp Zerelles
b10d1628d5
fix: encode URLs correctly (fix #15298) (#15311)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-03-12 21:39:57 +08:00
翠 / green
8f74ce4ff3
fix: escape single quote when relative base is used (#16060) 2024-03-05 09:09:59 +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
翠 / green
ef403c0e61
fix(css): render correct asset url when CSS chunk name is nested (#15154) 2023-11-27 09:21:53 +01:00
patak
0873bae0cf
fix: processNodeUrl for srcset (#14870) 2023-11-06 10:40:25 +00:00
Bjorn Lu
d6d1ef156a
fix(html): ignore rewrite external urls (#14774) 2023-10-27 17:09:14 +08:00
Bjorn Lu
eef4aaa063
fix(assets): fix svg inline in css url (#14714) 2023-10-20 12:53:45 +00:00
Arnaud Barré
f627b91c23
fix(manifest): include assets referenced in html (#14657) 2023-10-18 12:52:36 +08: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
e9b1e85ab9
feat: use import.meta.url instead of self.location (#14377) 2023-09-15 18:04:44 +08: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
翠 / green
3a98558f78
feat: import public non-asset URL (#13422) 2023-06-09 14:09:21 +02:00
Bjorn Lu
2c0fabae49
feat(html): support image set in inline style (#13473) 2023-06-09 11:51:00 +02:00
renovate[bot]
123ef4c47c
fix(deps): update all non-major dependencies (#13059)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-06-08 11:56:21 +02:00
Jonas Kaltenbach
d5d9a3155c
fix(assetImportMetaUrl): allow ternary operator in template literal urls (#13121) 2023-05-16 16:34:48 +02:00
翠 / green
eeb0617bed
fix: call tryFsResolve for relative new URL(foo, import.meta.url) (#13142) 2023-05-10 14:58:02 +02:00
sun0day
7089528b7c
fix(assetImportMetaUrl): reserve dynamic template literal query params (#13034) 2023-05-04 12:39:41 +08:00
翠 / green
56802b1a0b
fix: leave fully dynamic import.meta.url asset (fixes #10306) (#10549) 2023-04-02 14:21:16 +02:00
翠 / green
1dba285598
fix(html): rewrite assets url in <noscript> (#11764) 2023-02-18 13:08:25 +01:00
Arnaud Barré
134ce68179
chore: enable prettier trailing commas (#11167) 2022-12-04 08:19:06 +01:00
Kyle Herock
bafccf52aa
feat(assets): allow new URL to resolve package assets (#7837) 2022-09-23 17:31:18 +02:00
Hung Viet Nguyen
a2b24eea4a
fix: __VITE_PUBLIC_ASSET__hash__ in HTML (#9247) 2022-07-29 10:22:16 +02:00
yoho
122c6e7520
fix: url constructor import asset no as url (#9399) 2022-07-28 08:11:42 +02:00
翠 / green
acf3024779
fix: mime missing extensions (#8568) 2022-06-13 15:58:50 +02:00
yoho
d0deac04f2
fix: relative path html (#8122) 2022-05-12 21:11:03 +02:00
patak
e10c0c1e28
fix: image-set with base64 images (fix #8028) (#8035) 2022-05-10 08:00:21 +02:00
Anthony Fu
875fc116a0
chore: move playground to root (#8072) 2022-05-09 09:36:14 +02:00