vite 8.0.7 → 8.0.9
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 +1 -1
- package/README.md +3 -3
- package/dist/client/client.mjs +5 -5
- package/dist/node/chunks/build.js +5381 -2
- package/dist/node/chunks/chunk.js +1 -1
- package/dist/node/chunks/dist.js +167 -102
- package/dist/node/chunks/node.js +178 -117
- package/dist/node/chunks/postcss-import.js +10 -10
- package/dist/node/cli.js +6 -6
- package/dist/node/index.d.ts +2 -2
- package/dist/node/index.js +1 -1
- package/dist/node/module-runner.js +3 -3
- package/package.json +12 -12
- package/dist/node/chunks/build2.js +0 -5378
- package/dist/node/chunks/config.js +0 -2
- package/dist/node/chunks/optimizer.js +0 -2
- package/dist/node/chunks/preview.js +0 -2
- package/dist/node/chunks/server.js +0 -2
package/LICENSE.md
CHANGED
|
@@ -1549,7 +1549,7 @@ Repository: https://github.com/jshttp/on-finished
|
|
|
1549
1549
|
|
|
1550
1550
|
## parse5
|
|
1551
1551
|
License: MIT
|
|
1552
|
-
By: Ivan Nikulin,
|
|
1552
|
+
By: Ivan Nikulin, James Garbutt, Felix Boehm, Titus
|
|
1553
1553
|
Repository: https://github.com/inikulin/parse5
|
|
1554
1554
|
|
|
1555
1555
|
> Copyright (c) 2013-2019 Ivan Nikulin (ifaaan@gmail.com, https://github.com/inikulin)
|
package/README.md
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
- 🔩 Universal Plugin Interface
|
|
10
10
|
- 🔑 Fully Typed APIs
|
|
11
11
|
|
|
12
|
-
Vite (French word for "
|
|
12
|
+
Vite (French word for "quick", pronounced [`/viːt/`](https://cdn.jsdelivr.net/gh/vitejs/vite@main/docs/public/vite.mp3), like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:
|
|
13
13
|
|
|
14
|
-
- A dev server that
|
|
14
|
+
- A dev server that provides [rich feature enhancements](https://vite.dev/guide/features) over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), for example extremely fast [Hot Module Replacement (HMR)](https://vite.dev/guide/features#hot-module-replacement).
|
|
15
15
|
|
|
16
|
-
- A
|
|
16
|
+
- A build command that bundles your code with [Rolldown](https://rolldown.rs), pre-configured to output highly optimized static assets for production.
|
|
17
17
|
|
|
18
18
|
In addition, Vite is highly extensible via its [Plugin API](https://vite.dev/guide/api-plugin.html) and [JavaScript API](https://vite.dev/guide/api-javascript.html) with full typing support.
|
|
19
19
|
|
package/dist/client/client.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
|
-
//#region \0@oxc-project+runtime@0.
|
|
2
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/typeof.js
|
|
3
3
|
function _typeof(o) {
|
|
4
4
|
"@babel/helpers - typeof";
|
|
5
5
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o) {
|
|
@@ -9,7 +9,7 @@ function _typeof(o) {
|
|
|
9
9
|
}, _typeof(o);
|
|
10
10
|
}
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region \0@oxc-project+runtime@0.
|
|
12
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPrimitive.js
|
|
13
13
|
function toPrimitive(t, r) {
|
|
14
14
|
if ("object" != _typeof(t) || !t) return t;
|
|
15
15
|
var e = t[Symbol.toPrimitive];
|
|
@@ -21,13 +21,13 @@ function toPrimitive(t, r) {
|
|
|
21
21
|
return ("string" === r ? String : Number)(t);
|
|
22
22
|
}
|
|
23
23
|
//#endregion
|
|
24
|
-
//#region \0@oxc-project+runtime@0.
|
|
24
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/toPropertyKey.js
|
|
25
25
|
function toPropertyKey(t) {
|
|
26
26
|
var i = toPrimitive(t, "string");
|
|
27
27
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
28
28
|
}
|
|
29
29
|
//#endregion
|
|
30
|
-
//#region \0@oxc-project+runtime@0.
|
|
30
|
+
//#region \0@oxc-project+runtime@0.126.0/helpers/defineProperty.js
|
|
31
31
|
function _defineProperty(e, r, t) {
|
|
32
32
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
33
33
|
value: t,
|
|
@@ -220,7 +220,7 @@ var HMRClient = class {
|
|
|
220
220
|
}
|
|
221
221
|
};
|
|
222
222
|
//#endregion
|
|
223
|
-
//#region ../../node_modules/.pnpm/nanoid@5.1.
|
|
223
|
+
//#region ../../node_modules/.pnpm/nanoid@5.1.9/node_modules/nanoid/non-secure/index.js
|
|
224
224
|
let urlAlphabet = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict";
|
|
225
225
|
let nanoid = (size = 21) => {
|
|
226
226
|
let id = "";
|