Commit Graph

22 Commits

Author SHA1 Message Date
Bjorn Lu
f08b1463db
feat(asset): inline svg in dev if within limit (#18581) 2024-11-06 10:28:44 +01:00
Arnaud Barré
2b61cc39a9
fix(hmr): trigger page reload when calling invalidate on root module (#16636) 2024-05-14 22:01:36 +08:00
翠 / green
0348137a23
refactor: use dedicated regex methods (#15228) 2023-12-03 13:37:17 +01:00
Bjorn Lu
b47905577a
feat(hmr): improve circular import updates (#14867) 2023-11-08 17:01:37 +09:00
Bjorn Lu
4150bcb0bd
perf(hmr): implement soft invalidation (#14654) 2023-10-25 22:58:01 +08:00
Arnaud Barré
7acb016fbb
fix(hmr): clean importers in module graph when file is deleted (#14315) 2023-10-19 17:49:40 +08:00
Arnaud Barré
40ee2457a7
fix(hmr): add timestamp for assets in dev (#13371) 2023-10-17 18:39:08 +02:00
vincer2040
31333bbb77
feat: add off method to ViteHotContext (issue #14185) (#14518) 2023-10-11 22:57:37 +08:00
patak
f589ac0909
fix: revert #13073, use consistent virtual module ID in module graph (#13734) 2023-07-06 17:35:45 +02:00
fi3ework
aa1776f2db
fix: use consistent virtual module ID in module graph (#13073) 2023-06-06 15:42:40 +02:00
翠 / green
081c27f2dd
feat: support import.meta.hot?.accept (#12053) 2023-02-15 19:39:16 +01:00
翠 / green
e58a4f00e2
chore: enable @typescript-eslint/ban-ts-comment (#11326) 2022-12-12 11:59:02 +01:00
翠 / green
401647feb4
test: migrate file-delete-restore playground test to hmr playground (#11176) 2022-12-04 21:07:25 +01:00
Arnaud Barré
134ce68179
chore: enable prettier trailing commas (#11167) 2022-12-04 08:19:06 +01:00
翠 / green
72f63c5b51
test: reduce hmr test flakiness (#11075) 2022-11-25 16:49:08 +01:00
Espen Hovlandsdal
1f57f84321
feat: add vite:afterUpdate event (#9810) 2022-11-03 20:05:53 +01:00
Bjorn Lu
832801153e
feat(server): invalidate module with hmr (#10333) 2022-10-14 11:02:34 +02:00
Ian VanSchooten
fb8ab1641f
feat: support import.meta.hot.invalidate (#10244)
Co-authored-by: Alec Larson <1925840+aleclarson@users.noreply.github.com>
Co-authored-by: 翠 / green <green@sapphi.red>
2022-09-28 17:11:42 -04:00
Bjorn Lu
71f08e766c
fix(hmr): dedupe virtual modules in module graph (#10144) 2022-09-19 14:34:50 +02:00
翠 / green
86bf776b1f
fix(hmr): duplicated modules because of query params mismatch (fixes #2255) (#9773) 2022-09-01 08:33:06 +02:00
Tim MacDonald
0e5c0091bf
fix(dev): avoid FOUC when swapping out link tag (fix #7973) (#8495) 2022-06-09 14:22:05 +02:00
Anthony Fu
875fc116a0
chore: move playground to root (#8072) 2022-05-09 09:36:14 +02:00