Commit Graph

46 Commits

Author SHA1 Message Date
Bjorn Lu
ddd5c5d00f
chore: upgrade to unbuild v3 rc (#18502) 2024-10-29 06:16:13 +01:00
Hiroshi Ogawa
7f9f8c6851
fix: use websocket to test server liveness before client reload (#17891)
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-10-25 13:54:11 +09:00
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
Daniel Roe
ba56cf43b5
fix(preload): throw error preloading module as well (#18098) 2024-09-13 10:43:10 +02:00
Daniel Roe
3fb28896d9
fix(preload): allow ignoring dep errors (#18046) 2024-09-09 12:12:39 +02:00
renovate[bot]
e408542748
fix(deps): update all non-major dependencies (#17780)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-07-30 13:38:12 +08:00
Bjorn Lu
df5ceb35b7
chore(deps): update typescript (#17699) 2024-07-22 11:48:47 +08:00
Bjorn Lu
dafff4ae6e
fix: lazily evaluate __vite__mapDeps files (#17602) 2024-07-02 11:47:29 +02:00
renovate[bot]
6c10662281
chore(deps): update dependency eslint to v9 (#16661)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-06-18 09:04:59 +02:00
renovate[bot]
2d50be2a54
fix(deps): update all non-major dependencies (#16488) 2024-04-23 11:27:54 +02:00
renovate[bot]
58a2938a97
fix(deps): update all non-major dependencies (#16376) 2024-04-08 17:17:01 +02:00
Matyáš Racek
c0ec6bea69
perf: reduce size of injected __vite__mapDeps code (#16184)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
Co-authored-by: 翠 / green <green@sapphi.red>
Co-authored-by: sapphi-red <49056869+sapphi-red@users.noreply.github.com>
2024-04-05 10:30:10 +08:00
Hiroshi Ogawa
445c4f2158
fix: fix sourcemap when using object as define value (#15805) 2024-04-03 12:19:35 +02:00
Hiroshi Ogawa
890538a694
fix: skip injecting __vite__mapDeps when it's not used (#16271) 2024-03-26 15:49:07 +09:00
翠 / green
1d5eec477e
feat: csp nonce support (#16052)
Co-authored-by: Andrew <8158705+maccuaa@users.noreply.github.com>
Co-authored-by: Justin Tay <49700559+justin-tay@users.noreply.github.com>
2024-03-13 15:47:33 +01:00
moui0
2f95c2bd9e
chore(deps): bump rollup to 4.13.0 (#15295) 2024-03-12 22:43:56 +08:00
renovate[bot]
a862ecb941
chore(deps): update all non-major dependencies (#16131)
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-03-11 14:36:12 +08:00
Hiroshi Ogawa
aff54e1d5e
fix: __vite__mapDeps code injection (#15732) 2024-02-21 21:05:09 +08:00
renovate[bot]
e0a6ef2b9e
fix(deps): update all non-major dependencies (#15803)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2024-02-08 10:43:45 +01:00
Bjorn Lu
a1f80822ea
chore: use eslint-plugin-i (#15569) 2024-01-11 14:21:58 +01:00
Dunqing
f8c6a341fb
fix(sourcemap): sourcemap is incorrect when sourcemap has sources: [null] (#14588)
Co-authored-by: 翠 / green <green@sapphi.red>
2024-01-08 15:17:12 +01:00
Hiroshi Ogawa
d2aa0969ee
fix: inject __vite__mapDeps code before sourcemap file comment (#15483) 2024-01-02 17:00:49 +09:00
翠 / green
d8001c5463
fix: emit vite:preloadError for chunks without deps (#15203) 2023-12-01 14:21:51 +01:00
Dunqing
1243c2f1cc
test: update test for inline sourcemap (#14597) 2023-10-14 19:53:21 +09:00
Gajus Kuizinas
6f12fd8bd2
perf: reduce preload marker markup size (#14550) 2023-10-10 15:51:56 +08:00
Bjorn Lu
55a3b4fb2b
fix(sourcemap): dont inject fallback sourcemap if have existing (#14370) 2023-09-15 18:22:47 +09:00
翠 / green
a99590762d
fix: use relative path for sources field (#14247) 2023-09-10 21:46:18 +09:00
翠 / green
627159d59b
fix: handle sourcemap correctly when multiple line import exists (#14232) 2023-08-29 15:22:41 +02:00
翠 / green
0156bd2cd7
fix: breakpoints in JS not working (#13514) 2023-08-22 21:31:25 +09:00
Bjorn Lu
b9a8d65fd6
perf: use magic-string hires boundary for sourcemaps (#13971) 2023-07-29 15:56:48 +02:00
Daniel Roe
2eca54eb73
feat: emit event to handle chunk load errors (#12084) 2023-06-15 14:37:02 +02:00
fi3ework
a8c7eb24a2
test: migrate playgrounds to ESM (#13094) 2023-05-09 11:33:34 +02:00
renovate[bot]
5731ac9caa
chore(deps): update all non-major dependencies (#12805)
Co-authored-by: sapphi-red <green@sapphi.red>
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2023-04-26 09:07:06 +02:00
翠 / green
d0516398b4
fix: output combined sourcemap in importAnalysisBuild plugin (#12642) 2023-03-29 21:29:49 +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
Benedikt Meurer
bcbc582013
fix: use relative paths in sources for transformed source maps (#12079) 2023-02-27 09:39:56 +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
Ben McCann
fdc6f3ac00
fix: Revert "fix: missing js sourcemaps with rewritten imports broke debugging (#7767) (#9476)" (#11144) 2022-12-03 14:56:18 +01:00
Bence Szalai
3fa96f6a7d
fix: missing js sourcemaps with rewritten imports broke debugging (#7767) (#9476)
Co-authored-by: sapphi-red <green@sapphi.red>
2022-11-22 12:48:20 +00:00
zoomdong
1cf5c78358
chore: remove vitest global options (#9620) 2022-08-12 07:05:13 +02:00
patak
188f1881eb
feat: improved cold start using deps scanner (#8869) 2022-07-04 10:43:11 +02:00
Shinigami
60721ac53a
chore: use node prefix (#8309)
Co-authored-by: bluwy <bjornlu.dev@gmail.com>
2022-06-19 21:59:52 +02:00
Anthony Fu
d2874827f7
test: improve dx for tests (#8112) 2022-05-11 17:03:19 +08:00
Anthony Fu
8148f67f4a
test: migrate to vitest (#8076) 2022-05-11 14:33:20 +08:00
Anthony Fu
875fc116a0
chore: move playground to root (#8072) 2022-05-09 09:36:14 +02:00