vite 3.2.4 → 3.2.6
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 +51 -7
- package/dist/client/client.mjs +1 -0
- package/dist/client/client.mjs.map +1 -1
- package/dist/node/chunks/{dep-67e7f8ab.js → dep-1889fec9.js} +416 -113
- package/dist/node/chunks/{dep-2e4b3d45.js → dep-ba8d9a4e.js} +5438 -5403
- package/dist/node/cli.js +5 -5
- package/dist/node/constants.js +1 -1
- package/dist/node/index.js +1 -1
- package/dist/node-cjs/publicUtils.cjs +1 -1
- package/index.cjs +2 -1
- package/package.json +5 -2
package/dist/node/cli.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { performance } from 'node:perf_hooks';
|
|
2
2
|
import { EventEmitter } from 'events';
|
|
3
|
-
import { z as picocolors, v as createLogger, g as resolveConfig } from './chunks/dep-
|
|
3
|
+
import { z as picocolors, v as createLogger, g as resolveConfig } from './chunks/dep-1889fec9.js';
|
|
4
4
|
import { VERSION } from './constants.js';
|
|
5
5
|
import 'node:fs';
|
|
6
6
|
import 'node:path';
|
|
@@ -702,7 +702,7 @@ cli
|
|
|
702
702
|
filterDuplicateOptions(options);
|
|
703
703
|
// output structure is preserved even after bundling so require()
|
|
704
704
|
// is ok here
|
|
705
|
-
const { createServer } = await import('./chunks/dep-
|
|
705
|
+
const { createServer } = await import('./chunks/dep-1889fec9.js').then(function (n) { return n.D; });
|
|
706
706
|
try {
|
|
707
707
|
const server = await createServer({
|
|
708
708
|
root,
|
|
@@ -750,7 +750,7 @@ cli
|
|
|
750
750
|
.option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
|
|
751
751
|
.action(async (root, options) => {
|
|
752
752
|
filterDuplicateOptions(options);
|
|
753
|
-
const { build } = await import('./chunks/dep-
|
|
753
|
+
const { build } = await import('./chunks/dep-1889fec9.js').then(function (n) { return n.C; });
|
|
754
754
|
const buildOptions = cleanOptions(options);
|
|
755
755
|
try {
|
|
756
756
|
await build({
|
|
@@ -775,7 +775,7 @@ cli
|
|
|
775
775
|
.option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
|
|
776
776
|
.action(async (root, options) => {
|
|
777
777
|
filterDuplicateOptions(options);
|
|
778
|
-
const { optimizeDeps } = await import('./chunks/dep-
|
|
778
|
+
const { optimizeDeps } = await import('./chunks/dep-1889fec9.js').then(function (n) { return n.B; });
|
|
779
779
|
try {
|
|
780
780
|
const config = await resolveConfig({
|
|
781
781
|
root,
|
|
@@ -800,7 +800,7 @@ cli
|
|
|
800
800
|
.option('--outDir <dir>', `[string] output directory (default: dist)`)
|
|
801
801
|
.action(async (root, options) => {
|
|
802
802
|
filterDuplicateOptions(options);
|
|
803
|
-
const { preview } = await import('./chunks/dep-
|
|
803
|
+
const { preview } = await import('./chunks/dep-1889fec9.js').then(function (n) { return n.E; });
|
|
804
804
|
try {
|
|
805
805
|
const server = await preview({
|
|
806
806
|
root,
|
package/dist/node/constants.js
CHANGED
package/dist/node/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { b as build, q as createFilter, v as createLogger, c as createServer, e as defineConfig, f as formatPostcssSourceMap, i as getDepOptimizationConfig, j as isDepsOptimizerEnabled, l as loadConfigFromFile, x as loadEnv, k as mergeAlias, m as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, h as resolveBaseUrl, g as resolveConfig, y as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, w as searchForWorkspaceRoot, u as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-
|
|
1
|
+
export { b as build, q as createFilter, v as createLogger, c as createServer, e as defineConfig, f as formatPostcssSourceMap, i as getDepOptimizationConfig, j as isDepsOptimizerEnabled, l as loadConfigFromFile, x as loadEnv, k as mergeAlias, m as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, h as resolveBaseUrl, g as resolveConfig, y as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, w as searchForWorkspaceRoot, u as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-1889fec9.js';
|
|
2
2
|
export { VERSION as version } from './constants.js';
|
|
3
3
|
export { version as esbuildVersion } from 'esbuild';
|
|
4
4
|
export { VERSION as rollupVersion } from 'rollup';
|
|
@@ -31,7 +31,7 @@ var require$$1__default$1 = /*#__PURE__*/_interopDefaultLegacy(require$$1$1);
|
|
|
31
31
|
var readline__default = /*#__PURE__*/_interopDefaultLegacy(readline);
|
|
32
32
|
var require$$2__default = /*#__PURE__*/_interopDefaultLegacy(require$$2);
|
|
33
33
|
|
|
34
|
-
var version = "3.2.
|
|
34
|
+
var version = "3.2.6";
|
|
35
35
|
|
|
36
36
|
const VERSION = version;
|
|
37
37
|
const VITE_PACKAGE_DIR = path$3.resolve(
|
package/index.cjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Evan You",
|
|
@@ -78,7 +78,9 @@
|
|
|
78
78
|
"@rollup/plugin-node-resolve": "14.1.0",
|
|
79
79
|
"@rollup/plugin-typescript": "^8.5.0",
|
|
80
80
|
"@rollup/pluginutils": "^4.2.1",
|
|
81
|
+
"@types/escape-html": "^1.0.0",
|
|
81
82
|
"acorn": "^8.8.1",
|
|
83
|
+
"acorn-walk": "^8.2.0",
|
|
82
84
|
"cac": "^6.7.14",
|
|
83
85
|
"chokidar": "^3.5.3",
|
|
84
86
|
"connect": "^3.7.0",
|
|
@@ -91,6 +93,7 @@
|
|
|
91
93
|
"dotenv": "^14.3.2",
|
|
92
94
|
"dotenv-expand": "^5.1.0",
|
|
93
95
|
"es-module-lexer": "^1.1.0",
|
|
96
|
+
"escape-html": "^1.0.3",
|
|
94
97
|
"estree-walker": "^3.0.1",
|
|
95
98
|
"etag": "^1.8.1",
|
|
96
99
|
"fast-glob": "^3.2.12",
|
|
@@ -109,7 +112,7 @@
|
|
|
109
112
|
"picomatch": "^2.3.1",
|
|
110
113
|
"postcss-import": "^15.0.0",
|
|
111
114
|
"postcss-load-config": "^4.0.1",
|
|
112
|
-
"postcss-modules": "^
|
|
115
|
+
"postcss-modules": "^6.0.0",
|
|
113
116
|
"resolve.exports": "^1.1.0",
|
|
114
117
|
"sirv": "^2.0.2",
|
|
115
118
|
"source-map-js": "^1.0.2",
|