vite 6.0.0-alpha.19 → 6.0.0-alpha.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.d.ts +8 -0
- package/dist/node/chunks/{dep-bCS_cgqC.js → dep-BVDN2Cqw.js} +1 -1
- package/dist/node/chunks/{dep-BWEMV5Th.js → dep-CpuHsFvF.js} +4816 -4550
- package/dist/node/chunks/{dep-MbEgMyUv.js → dep-D1nw2wDG.js} +164 -963
- package/dist/node/cli.js +35 -26
- package/dist/node/index.d.ts +45 -54
- package/dist/node/index.js +3 -3
- package/dist/node/module-runner.d.ts +1 -1
- package/dist/node/module-runner.js +42 -34
- package/dist/node-cjs/publicUtils.cjs +95 -106
- package/index.cjs +0 -2
- package/package.json +14 -8
- package/types/customEvent.d.ts +1 -1
- /package/types/{hotPayload.d.ts → hmrPayload.d.ts} +0 -0
package/client.d.ts
CHANGED
@@ -246,3 +246,11 @@ declare module '*?inline' {
|
|
246
246
|
const src: string
|
247
247
|
export default src
|
248
248
|
}
|
249
|
+
|
250
|
+
declare interface VitePreloadErrorEvent extends Event {
|
251
|
+
payload: Error
|
252
|
+
}
|
253
|
+
|
254
|
+
declare interface WindowEventMap {
|
255
|
+
'vite:preloadError': VitePreloadErrorEvent
|
256
|
+
}
|