vite 4.5.1 → 4.5.2
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.
Potentially problematic release.
This version of vite might be problematic. Click here for more details.
|
@@ -38994,8 +38994,8 @@ function createCachedImport(imp) {
|
|
|
38994
38994
|
return cached;
|
|
38995
38995
|
};
|
|
38996
38996
|
}
|
|
38997
|
-
const importPostcssImport = createCachedImport(() => import('./dep-
|
|
38998
|
-
const importPostcssModules = createCachedImport(() => import('./dep-
|
|
38997
|
+
const importPostcssImport = createCachedImport(() => import('./dep-6e48fc1c.js').then(function (n) { return n.i; }));
|
|
38998
|
+
const importPostcssModules = createCachedImport(() => import('./dep-b0b3f1e6.js').then(function (n) { return n.i; }));
|
|
38999
38999
|
const importPostcss = createCachedImport(() => import('postcss'));
|
|
39000
39000
|
/**
|
|
39001
39001
|
* @experimental
|
|
@@ -65181,7 +65181,10 @@ async function _createServer(inlineConfig = {}, options) {
|
|
|
65181
65181
|
_importGlobMap: new Map(),
|
|
65182
65182
|
_forceOptimizeOnRestart: false,
|
|
65183
65183
|
_pendingRequests: new Map(),
|
|
65184
|
-
_fsDenyGlob: picomatch$4(config.server.fs.deny, {
|
|
65184
|
+
_fsDenyGlob: picomatch$4(config.server.fs.deny, {
|
|
65185
|
+
matchBase: true,
|
|
65186
|
+
nocase: true,
|
|
65187
|
+
}),
|
|
65185
65188
|
_shortcutsOptions: undefined,
|
|
65186
65189
|
};
|
|
65187
65190
|
server.transformIndexHtml = createDevHtmlTransformFn(server);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { F as commonjsGlobal, E as getDefaultExportFromCjs } from './dep-
|
|
1
|
+
import { F as commonjsGlobal, E as getDefaultExportFromCjs } from './dep-52909643.js';
|
|
2
2
|
import require$$0__default from 'fs';
|
|
3
3
|
import require$$0 from 'postcss';
|
|
4
4
|
import require$$0$1 from 'path';
|
package/dist/node/cli.js
CHANGED
|
@@ -2,7 +2,7 @@ import path from 'node:path';
|
|
|
2
2
|
import fs from 'node:fs';
|
|
3
3
|
import { performance } from 'node:perf_hooks';
|
|
4
4
|
import { EventEmitter } from 'events';
|
|
5
|
-
import { C as colors, D as bindShortcuts, x as createLogger, h as resolveConfig } from './chunks/dep-
|
|
5
|
+
import { C as colors, D as bindShortcuts, x as createLogger, h as resolveConfig } from './chunks/dep-52909643.js';
|
|
6
6
|
import { VERSION } from './constants.js';
|
|
7
7
|
import 'node:fs/promises';
|
|
8
8
|
import 'node:url';
|
|
@@ -758,7 +758,7 @@ cli
|
|
|
758
758
|
filterDuplicateOptions(options);
|
|
759
759
|
// output structure is preserved even after bundling so require()
|
|
760
760
|
// is ok here
|
|
761
|
-
const { createServer } = await import('./chunks/dep-
|
|
761
|
+
const { createServer } = await import('./chunks/dep-52909643.js').then(function (n) { return n.I; });
|
|
762
762
|
try {
|
|
763
763
|
const server = await createServer({
|
|
764
764
|
root,
|
|
@@ -836,7 +836,7 @@ cli
|
|
|
836
836
|
.option('-w, --watch', `[boolean] rebuilds when modules have changed on disk`)
|
|
837
837
|
.action(async (root, options) => {
|
|
838
838
|
filterDuplicateOptions(options);
|
|
839
|
-
const { build } = await import('./chunks/dep-
|
|
839
|
+
const { build } = await import('./chunks/dep-52909643.js').then(function (n) { return n.H; });
|
|
840
840
|
const buildOptions = cleanOptions(options);
|
|
841
841
|
try {
|
|
842
842
|
await build({
|
|
@@ -864,7 +864,7 @@ cli
|
|
|
864
864
|
.option('--force', `[boolean] force the optimizer to ignore the cache and re-bundle`)
|
|
865
865
|
.action(async (root, options) => {
|
|
866
866
|
filterDuplicateOptions(options);
|
|
867
|
-
const { optimizeDeps } = await import('./chunks/dep-
|
|
867
|
+
const { optimizeDeps } = await import('./chunks/dep-52909643.js').then(function (n) { return n.G; });
|
|
868
868
|
try {
|
|
869
869
|
const config = await resolveConfig({
|
|
870
870
|
root,
|
|
@@ -891,7 +891,7 @@ cli
|
|
|
891
891
|
.option('--outDir <dir>', `[string] output directory (default: dist)`)
|
|
892
892
|
.action(async (root, options) => {
|
|
893
893
|
filterDuplicateOptions(options);
|
|
894
|
-
const { preview } = await import('./chunks/dep-
|
|
894
|
+
const { preview } = await import('./chunks/dep-52909643.js').then(function (n) { return n.J; });
|
|
895
895
|
try {
|
|
896
896
|
const server = await preview({
|
|
897
897
|
root,
|
package/dist/node/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as isInNodeModules } from './chunks/dep-
|
|
2
|
-
export { b as build, e as buildErrorMessage, v as createFilter, x as createLogger, c as createServer, g as defineConfig, f as formatPostcssSourceMap, k as getDepOptimizationConfig, m as isDepsOptimizerEnabled, z as isFileServingAllowed, l as loadConfigFromFile, A as loadEnv, u as mergeAlias, q as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, j as resolveBaseUrl, h as resolveConfig, B as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, y as searchForWorkspaceRoot, w as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-
|
|
1
|
+
import { i as isInNodeModules } from './chunks/dep-52909643.js';
|
|
2
|
+
export { b as build, e as buildErrorMessage, v as createFilter, x as createLogger, c as createServer, g as defineConfig, f as formatPostcssSourceMap, k as getDepOptimizationConfig, m as isDepsOptimizerEnabled, z as isFileServingAllowed, l as loadConfigFromFile, A as loadEnv, u as mergeAlias, q as mergeConfig, n as normalizePath, o as optimizeDeps, a as preprocessCSS, p as preview, j as resolveBaseUrl, h as resolveConfig, B as resolveEnvPrefix, d as resolvePackageData, r as resolvePackageEntry, y as searchForWorkspaceRoot, w as send, s as sortUserPlugins, t as transformWithEsbuild } from './chunks/dep-52909643.js';
|
|
3
3
|
export { VERSION as version } from './constants.js';
|
|
4
4
|
export { version as esbuildVersion } from 'esbuild';
|
|
5
5
|
export { VERSION as rollupVersion } from 'rollup';
|