vite 8.0.0-beta.6 → 8.0.0-beta.7
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/dist/client/client.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import "@vite/env";
|
|
2
2
|
|
|
3
|
-
//#region \0@oxc-project+runtime@0.
|
|
3
|
+
//#region \0@oxc-project+runtime@0.107.0/helpers/typeof.js
|
|
4
4
|
function _typeof(o) {
|
|
5
5
|
"@babel/helpers - typeof";
|
|
6
6
|
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function(o$1) {
|
|
@@ -11,7 +11,7 @@ function _typeof(o) {
|
|
|
11
11
|
}
|
|
12
12
|
|
|
13
13
|
//#endregion
|
|
14
|
-
//#region \0@oxc-project+runtime@0.
|
|
14
|
+
//#region \0@oxc-project+runtime@0.107.0/helpers/toPrimitive.js
|
|
15
15
|
function toPrimitive(t, r) {
|
|
16
16
|
if ("object" != _typeof(t) || !t) return t;
|
|
17
17
|
var e = t[Symbol.toPrimitive];
|
|
@@ -24,14 +24,14 @@ function toPrimitive(t, r) {
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
//#endregion
|
|
27
|
-
//#region \0@oxc-project+runtime@0.
|
|
27
|
+
//#region \0@oxc-project+runtime@0.107.0/helpers/toPropertyKey.js
|
|
28
28
|
function toPropertyKey(t) {
|
|
29
29
|
var i = toPrimitive(t, "string");
|
|
30
30
|
return "symbol" == _typeof(i) ? i : i + "";
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
//#endregion
|
|
34
|
-
//#region \0@oxc-project+runtime@0.
|
|
34
|
+
//#region \0@oxc-project+runtime@0.107.0/helpers/defineProperty.js
|
|
35
35
|
function _defineProperty(e, r, t) {
|
|
36
36
|
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
37
37
|
value: t,
|
|
@@ -41,8 +41,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
41
41
|
enumerable: true
|
|
42
42
|
}) : target, mod));
|
|
43
43
|
var __toCommonJS = (mod) => __hasOwnProp.call(mod, "module.exports") ? mod["module.exports"] : __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
44
|
-
var __toDynamicImportESM = (isNodeMode) => (mod) => __toESM(mod.default, isNodeMode);
|
|
45
44
|
var __require = /* @__PURE__ */ createRequire(import.meta.url);
|
|
46
45
|
|
|
47
46
|
//#endregion
|
|
48
|
-
export { __toCommonJS as a, __require as i, __esmMin as n,
|
|
47
|
+
export { __toCommonJS as a, __require as i, __esmMin as n, __toESM as o, __exportAll as r, __commonJSMin as t };
|
package/dist/node/chunks/node.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as __toCommonJS, i as __require, n as __esmMin, o as
|
|
1
|
+
import { a as __toCommonJS, i as __require, n as __esmMin, o as __toESM, r as __exportAll, t as __commonJSMin } from "./chunk.js";
|
|
2
2
|
import { A as OPTIMIZABLE_ENTRY_RE, C as ERR_FILE_NOT_FOUND_IN_OPTIMIZED_DEP_DIR, D as JS_TYPES_RE, E as FS_PREFIX, F as defaultAllowedOrigins, I as loopbackHosts, L as wildcardHosts, M as SPECIAL_QUERY_RE, N as VERSION, O as KNOWN_ASSET_TYPES, P as VITE_PACKAGE_DIR, R as require_picocolors, S as ENV_PUBLIC_PATH, T as ESBUILD_BASELINE_WIDELY_AVAILABLE_TARGET, _ as DEFAULT_SERVER_CONDITIONS, a as CLIENT_ENTRY, b as DEV_PROD_CONDITION, c as DEFAULT_ASSETS_INLINE_LIMIT, d as DEFAULT_CLIENT_MAIN_FIELDS, f as DEFAULT_CONFIG_FILES, g as DEFAULT_PREVIEW_PORT, h as DEFAULT_EXTERNAL_CONDITIONS, i as CLIENT_DIR, j as ROLLUP_HOOKS, k as METADATA_FILENAME, l as DEFAULT_ASSETS_RE, m as DEFAULT_EXTENSIONS, n as createLogger, o as CLIENT_PUBLIC_PATH, p as DEFAULT_DEV_PORT, r as printServerUrls, s as CSS_LANGS_RE, t as LogLevels, u as DEFAULT_CLIENT_CONDITIONS, v as DEFAULT_SERVER_MAIN_FIELDS, w as ERR_OPTIMIZE_DEPS_PROCESSING_ERROR, x as ENV_ENTRY, y as DEP_VERSION_RE } from "./logger.js";
|
|
3
3
|
import { builtinModules, createRequire } from "node:module";
|
|
4
4
|
import { parseAst, parseAstAsync } from "rolldown/parseAst";
|
|
@@ -4642,7 +4642,7 @@ function hasESMSyntax(code, opts = {}) {
|
|
|
4642
4642
|
}
|
|
4643
4643
|
|
|
4644
4644
|
//#endregion
|
|
4645
|
-
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0-beta.
|
|
4645
|
+
//#region ../../node_modules/.pnpm/@rolldown+pluginutils@1.0.0-beta.59/node_modules/@rolldown/pluginutils/dist/filter/simple-filters.js
|
|
4646
4646
|
/**
|
|
4647
4647
|
* Constructs a RegExp that matches the exact string specified.
|
|
4648
4648
|
*
|
|
@@ -22731,8 +22731,8 @@ function createCachedImport(imp) {
|
|
|
22731
22731
|
return cached;
|
|
22732
22732
|
};
|
|
22733
22733
|
}
|
|
22734
|
-
const importPostcssImport = createCachedImport(() => import("./postcss-import.js").then(
|
|
22735
|
-
const importPostcssModules = createCachedImport(() => import("./build2.js").then(
|
|
22734
|
+
const importPostcssImport = createCachedImport(() => import("./postcss-import.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)));
|
|
22735
|
+
const importPostcssModules = createCachedImport(() => import("./build2.js").then((m) => /* @__PURE__ */ __toESM(m.default, 1)));
|
|
22736
22736
|
const importPostcss = createCachedImport(() => import("postcss"));
|
|
22737
22737
|
const preprocessorWorkerControllerCache = /* @__PURE__ */ new WeakMap();
|
|
22738
22738
|
let alwaysFakeWorkerWorkerControllerCache;
|
|
@@ -23311,7 +23311,7 @@ const makeStylWorker = (maxWorkers) => {
|
|
|
23311
23311
|
};
|
|
23312
23312
|
}, {
|
|
23313
23313
|
shouldUseFake(_stylusPath, _content, _root, options) {
|
|
23314
|
-
return !!(options.define && Object.values(options.define).some((d) => typeof d === "function"));
|
|
23314
|
+
return !!(options.define && Object.values(options.define).some((d) => typeof d === "function") || options.Evaluator);
|
|
23315
23315
|
},
|
|
23316
23316
|
max: maxWorkers
|
|
23317
23317
|
});
|
package/dist/node/cli.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite",
|
|
3
|
-
"version": "8.0.0-beta.
|
|
3
|
+
"version": "8.0.0-beta.7",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Evan You",
|
|
@@ -60,12 +60,12 @@
|
|
|
60
60
|
"funding": "https://github.com/vitejs/vite?sponsor=1",
|
|
61
61
|
"//": "READ CONTRIBUTING.md to understand what to put under deps vs. devDeps!",
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@oxc-project/runtime": "0.
|
|
63
|
+
"@oxc-project/runtime": "0.107.0",
|
|
64
64
|
"fdir": "^6.5.0",
|
|
65
65
|
"lightningcss": "^1.30.2",
|
|
66
66
|
"picomatch": "^4.0.3",
|
|
67
67
|
"postcss": "^8.5.6",
|
|
68
|
-
"rolldown": "1.0.0-beta.
|
|
68
|
+
"rolldown": "1.0.0-beta.59",
|
|
69
69
|
"tinyglobby": "^0.2.15"
|
|
70
70
|
},
|
|
71
71
|
"optionalDependencies": {
|
|
@@ -75,9 +75,9 @@
|
|
|
75
75
|
"@babel/parser": "^7.28.5",
|
|
76
76
|
"@jridgewell/remapping": "^2.3.5",
|
|
77
77
|
"@jridgewell/trace-mapping": "^0.3.31",
|
|
78
|
-
"@oxc-project/types": "0.
|
|
78
|
+
"@oxc-project/types": "0.107.0",
|
|
79
79
|
"@polka/compression": "^1.0.0-next.25",
|
|
80
|
-
"@rolldown/pluginutils": "1.0.0-beta.
|
|
80
|
+
"@rolldown/pluginutils": "1.0.0-beta.59",
|
|
81
81
|
"@rollup/plugin-alias": "^5.1.1",
|
|
82
82
|
"@rollup/plugin-commonjs": "^29.0.0",
|
|
83
83
|
"@rollup/plugin-dynamic-import-vars": "2.1.4",
|