vitepress 0.20.0 → 0.20.1
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/node/cli.js
CHANGED
package/dist/node/index.js
CHANGED
|
@@ -36332,7 +36332,6 @@ function createMarkdownToVueRenderFn(srcDir, options = {}, pages, userDefines, i
|
|
|
36332
36332
|
let includes = [];
|
|
36333
36333
|
src = src.replace(includesRE, (_, m1) => {
|
|
36334
36334
|
const includePath = path__default["default"].join(dir, m1);
|
|
36335
|
-
console.log(includePath);
|
|
36336
36335
|
const content2 = fs__default["default"].readFileSync(includePath, "utf-8");
|
|
36337
36336
|
includes.push(slash(includePath));
|
|
36338
36337
|
return content2;
|
|
@@ -36623,9 +36622,7 @@ function createVitePressPlugin(root, siteConfig, ssr = false, pageToHashMap, cli
|
|
|
36623
36622
|
pageData
|
|
36624
36623
|
}
|
|
36625
36624
|
});
|
|
36626
|
-
|
|
36627
|
-
read: () => vueSrc
|
|
36628
|
-
}));
|
|
36625
|
+
ctx.read = () => vueSrc;
|
|
36629
36626
|
}
|
|
36630
36627
|
}
|
|
36631
36628
|
};
|