vite 2.7.8 → 2.7.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.
Potentially problematic release.
This version of vite might be problematic. Click here for more details.
- package/CHANGELOG.md +4 -0
- package/dist/node/chunks/{dep-2d04f1e8.js → dep-0cbbc772.js} +2 -2
- package/dist/node/chunks/{dep-2d04f1e8.js.map → dep-0cbbc772.js.map} +1 -1
- package/dist/node/chunks/{dep-245e2712.js → dep-37807119.js} +2 -2
- package/dist/node/chunks/{dep-245e2712.js.map → dep-37807119.js.map} +1 -1
- package/dist/node/chunks/{dep-24a6b4c4.js → dep-4b9dfa16.js} +8 -11
- package/dist/node/chunks/{dep-24a6b4c4.js.map → dep-4b9dfa16.js.map} +1 -1
- package/dist/node/chunks/{dep-21eb5f0a.js → dep-6e9ef787.js} +2 -2
- package/dist/node/chunks/{dep-21eb5f0a.js.map → dep-6e9ef787.js.map} +1 -1
- package/dist/node/cli.js +4 -4
- package/dist/node/index.js +1 -1
- package/package.json +1 -1
|
@@ -20397,7 +20397,7 @@ async function compileCSS(id, code, config, urlReplacer, atImportResolvers, serv
|
|
|
20397
20397
|
replacer: urlReplacer
|
|
20398
20398
|
}));
|
|
20399
20399
|
if (isModule) {
|
|
20400
|
-
postcssPlugins.unshift((await Promise.resolve().then(function () { return require('./dep-
|
|
20400
|
+
postcssPlugins.unshift((await Promise.resolve().then(function () { return require('./dep-37807119.js'); }).then(function (n) { return n.index; })).default({
|
|
20401
20401
|
...modulesOptions,
|
|
20402
20402
|
getJSON(cssFileName, _modules, outputFileName) {
|
|
20403
20403
|
modules = _modules;
|
|
@@ -21402,7 +21402,7 @@ const assetAttrsConfig = {
|
|
|
21402
21402
|
const isAsyncScriptMap = new WeakMap();
|
|
21403
21403
|
async function traverseHtml(html, filePath, visitor) {
|
|
21404
21404
|
// lazy load compiler
|
|
21405
|
-
const { parse, transform } = await Promise.resolve().then(function () { return require('./dep-
|
|
21405
|
+
const { parse, transform } = await Promise.resolve().then(function () { return require('./dep-0cbbc772.js'); }).then(function (n) { return n.compilerDom_cjs; });
|
|
21406
21406
|
// @vue/compiler-core doesn't like lowercase doctypes
|
|
21407
21407
|
html = html.replace(/<!doctype\s/i, '<!DOCTYPE ');
|
|
21408
21408
|
try {
|
|
@@ -37840,13 +37840,10 @@ function getPkgName(root) {
|
|
|
37840
37840
|
function createMoveToVendorChunkFn(config) {
|
|
37841
37841
|
const cache = new Map();
|
|
37842
37842
|
return (id, { getModuleInfo }) => {
|
|
37843
|
-
if (id.includes('node_modules') &&
|
|
37844
|
-
|
|
37845
|
-
|
|
37846
|
-
|
|
37847
|
-
else {
|
|
37848
|
-
return 'async-vendor';
|
|
37849
|
-
}
|
|
37843
|
+
if (id.includes('node_modules') &&
|
|
37844
|
+
!isCSSRequest(id) &&
|
|
37845
|
+
staticImportedByEntry(id, getModuleInfo, cache)) {
|
|
37846
|
+
return 'vendor';
|
|
37850
37847
|
}
|
|
37851
37848
|
};
|
|
37852
37849
|
}
|
|
@@ -43722,7 +43719,7 @@ function readFileIfExists(value) {
|
|
|
43722
43719
|
* https://github.com/webpack/webpack-dev-server/blob/master/LICENSE
|
|
43723
43720
|
*/
|
|
43724
43721
|
async function createCertificate() {
|
|
43725
|
-
const { generate } = await Promise.resolve().then(function () { return require('./dep-
|
|
43722
|
+
const { generate } = await Promise.resolve().then(function () { return require('./dep-6e9ef787.js'); }).then(function (n) { return n.index; });
|
|
43726
43723
|
const pems = generate(null, {
|
|
43727
43724
|
algorithm: 'sha256',
|
|
43728
43725
|
days: 30,
|
|
@@ -75233,4 +75230,4 @@ exports.send = send$1;
|
|
|
75233
75230
|
exports.sortUserPlugins = sortUserPlugins;
|
|
75234
75231
|
exports.source = source;
|
|
75235
75232
|
exports.transformWithEsbuild = transformWithEsbuild;
|
|
75236
|
-
//# sourceMappingURL=dep-
|
|
75233
|
+
//# sourceMappingURL=dep-4b9dfa16.js.map
|