vite 2.6.12 → 2.6.13
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 +9 -0
- package/dist/node/chunks/{dep-822b9d02.js → dep-1a7759b6.js} +2 -2
- package/dist/node/chunks/{dep-822b9d02.js.map → dep-1a7759b6.js.map} +1 -1
- package/dist/node/chunks/{dep-14140c42.js → dep-724b1c48.js} +2 -2
- package/dist/node/chunks/{dep-14140c42.js.map → dep-724b1c48.js.map} +1 -1
- package/dist/node/chunks/{dep-81ddae5a.js → dep-85dbaaa7.js} +5 -5
- package/dist/node/chunks/dep-85dbaaa7.js.map +1 -0
- package/dist/node/chunks/{dep-b0d06b66.js → dep-93e144c8.js} +2 -2
- package/dist/node/chunks/{dep-b0d06b66.js.map → dep-93e144c8.js.map} +1 -1
- package/dist/node/cli.js +4 -4
- package/dist/node/index.js +1 -1
- package/package.json +1 -1
- package/dist/node/chunks/dep-81ddae5a.js.map +0 -1
|
@@ -19890,7 +19890,7 @@ function cssPlugin(config) {
|
|
|
19890
19890
|
const thisModule = moduleGraph.getModuleById(id);
|
|
19891
19891
|
if (thisModule) {
|
|
19892
19892
|
// CSS modules cannot self-accept since it exports values
|
|
19893
|
-
const isSelfAccepting = !modules;
|
|
19893
|
+
const isSelfAccepting = !modules && !inlineRE.test(id);
|
|
19894
19894
|
if (deps) {
|
|
19895
19895
|
// record deps in the module graph so edits to @import css can trigger
|
|
19896
19896
|
// main import to hot update
|
|
@@ -20257,7 +20257,7 @@ async function compileCSS(id, code, config, urlReplacer, atImportResolvers, serv
|
|
|
20257
20257
|
replacer: urlReplacer
|
|
20258
20258
|
}));
|
|
20259
20259
|
if (isModule) {
|
|
20260
|
-
postcssPlugins.unshift((await Promise.resolve().then(function () { return require('./dep-
|
|
20260
|
+
postcssPlugins.unshift((await Promise.resolve().then(function () { return require('./dep-1a7759b6.js'); }).then(function (n) { return n.index; })).default({
|
|
20261
20261
|
...modulesOptions,
|
|
20262
20262
|
getJSON(cssFileName, _modules, outputFileName) {
|
|
20263
20263
|
modules = _modules;
|
|
@@ -21222,7 +21222,7 @@ const assetAttrsConfig = {
|
|
|
21222
21222
|
const isAsyncScriptMap = new WeakMap();
|
|
21223
21223
|
async function traverseHtml(html, filePath, visitor) {
|
|
21224
21224
|
// lazy load compiler
|
|
21225
|
-
const { parse, transform } = await Promise.resolve().then(function () { return require('./dep-
|
|
21225
|
+
const { parse, transform } = await Promise.resolve().then(function () { return require('./dep-93e144c8.js'); }).then(function (n) { return n.compilerDom_cjs; });
|
|
21226
21226
|
// @vue/compiler-core doesn't like lowercase doctypes
|
|
21227
21227
|
html = html.replace(/<!doctype\s/i, '<!DOCTYPE ');
|
|
21228
21228
|
try {
|
|
@@ -49038,7 +49038,7 @@ function readFileIfExists(value) {
|
|
|
49038
49038
|
* https://github.com/webpack/webpack-dev-server/blob/master/LICENSE
|
|
49039
49039
|
*/
|
|
49040
49040
|
async function createCertificate() {
|
|
49041
|
-
const { generate } = await Promise.resolve().then(function () { return require('./dep-
|
|
49041
|
+
const { generate } = await Promise.resolve().then(function () { return require('./dep-724b1c48.js'); }).then(function (n) { return n.index; });
|
|
49042
49042
|
const pems = generate(null, {
|
|
49043
49043
|
algorithm: 'sha256',
|
|
49044
49044
|
days: 30,
|
|
@@ -92086,4 +92086,4 @@ exports.send = send$1;
|
|
|
92086
92086
|
exports.sortUserPlugins = sortUserPlugins;
|
|
92087
92087
|
exports.source = source;
|
|
92088
92088
|
exports.transformWithEsbuild = transformWithEsbuild;
|
|
92089
|
-
//# sourceMappingURL=dep-
|
|
92089
|
+
//# sourceMappingURL=dep-85dbaaa7.js.map
|