@deot/docs-playground 1.0.5 → 1.0.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/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1336,7 +1336,7 @@ var appendParseErrors = (result, errors) => errors.length ? {
|
|
|
1336
1336
|
var wrapCompiler = (compiler, getFiles) => {
|
|
1337
1337
|
if (wrappedCompilers.has(compiler)) return compiler;
|
|
1338
1338
|
const originalParse = compiler.parse.bind(compiler);
|
|
1339
|
-
const wrapped =
|
|
1339
|
+
const wrapped = { ...compiler };
|
|
1340
1340
|
wrapped.parse = ((source, options) => {
|
|
1341
1341
|
const filename = options?.filename || "anonymous.vue";
|
|
1342
1342
|
if (!vueSourceNeedsScss(source)) return originalParse(source, options);
|
package/dist/index.js
CHANGED
|
@@ -1309,7 +1309,7 @@ var appendParseErrors = (result, errors) => errors.length ? {
|
|
|
1309
1309
|
var wrapCompiler = (compiler, getFiles) => {
|
|
1310
1310
|
if (wrappedCompilers.has(compiler)) return compiler;
|
|
1311
1311
|
const originalParse = compiler.parse.bind(compiler);
|
|
1312
|
-
const wrapped =
|
|
1312
|
+
const wrapped = { ...compiler };
|
|
1313
1313
|
wrapped.parse = ((source, options) => {
|
|
1314
1314
|
const filename = options?.filename || "anonymous.vue";
|
|
1315
1315
|
if (!vueSourceNeedsScss(source)) return originalParse(source, options);
|