vite 6.0.0-beta.3 → 6.0.0-beta.5
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/LICENSE.md +52 -736
- package/bin/vite.js +1 -0
- package/dist/client/client.mjs +1 -1
- package/dist/node/chunks/{dep-ChZnDG_O.js → dep-BW_D9zgJ.js} +15731 -16256
- package/dist/node/chunks/{dep-D-7KCb9p.js → dep-CdoEeCn3.js} +704 -439
- package/dist/node/chunks/{dep-CBTZ9M2V.js → dep-DUrICmHV.js} +4 -8
- package/dist/node/chunks/{dep-DHwgfHPT.js → dep-jvFrlYpX.js} +9 -13
- package/dist/node/chunks/{dep-wWOLM6NS.js → dep-mtw2NpNs.js} +0 -4
- package/dist/node/cli.js +19 -33
- package/dist/node/index.d.ts +54 -14
- package/dist/node/index.js +5 -4
- package/dist/node/module-runner.js +1 -1
- package/dist/node-cjs/publicUtils.cjs +147 -145
- package/package.json +16 -16
- package/types/cssPreprocessorOptions.d.ts +43 -0
package/bin/vite.js
CHANGED
@@ -43,6 +43,7 @@ if (debugIndex > 0) {
|
|
43
43
|
|
44
44
|
function start() {
|
45
45
|
try {
|
46
|
+
// eslint-disable-next-line n/no-unsupported-features/node-builtins -- it is supported in Node 22.8.0+ and only called if it exists
|
46
47
|
module.enableCompileCache?.()
|
47
48
|
} catch {}
|
48
49
|
return import('../dist/node/cli.js')
|
package/dist/client/client.mjs
CHANGED
@@ -155,7 +155,7 @@ class HMRClient {
|
|
155
155
|
}
|
156
156
|
// After an HMR update, some modules are no longer imported on the page
|
157
157
|
// but they may have left behind side effects that need to be cleaned up
|
158
|
-
// (
|
158
|
+
// (e.g. style injections)
|
159
159
|
async prunePaths(paths) {
|
160
160
|
await Promise.all(
|
161
161
|
paths.map((path) => {
|