@slidev/cli 0.40.10 → 0.40.11
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/{build-NDJOZSTK.js → build-4WFAFXDV.js} +5 -5
- package/dist/{build-NX2PGO4O.mjs → build-B5QH5J2Y.mjs} +1 -1
- package/dist/{chunk-ENFQSII4.mjs → chunk-4DVLHT55.mjs} +6 -6
- package/dist/{chunk-7DDFS6XM.mjs → chunk-7BAMYU2E.mjs} +224 -177
- package/dist/{chunk-AJJDLJSH.js → chunk-NLLGUORF.js} +6 -6
- package/dist/{chunk-4CEI2UPN.js → chunk-QUYUNA7X.js} +226 -179
- package/dist/cli.js +28 -28
- package/dist/cli.mjs +3 -3
- package/dist/index.js +3 -3
- package/dist/index.mjs +2 -2
- package/package.json +11 -11
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkNLLGUORFjs = require('./chunk-NLLGUORF.js');
|
|
6
6
|
require('./chunk-GE7W2DBE.js');
|
|
7
7
|
|
|
8
8
|
// node/build.ts
|
|
@@ -646,16 +646,16 @@ async function build(options, viteConfig = {}, args) {
|
|
|
646
646
|
let originalIndexHTML;
|
|
647
647
|
if (_fsextra2.default.existsSync(indexPath))
|
|
648
648
|
originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
|
|
649
|
-
await _fsextra2.default.writeFile(indexPath, await
|
|
649
|
+
await _fsextra2.default.writeFile(indexPath, await _chunkNLLGUORFjs.getIndexHtml.call(void 0, options), "utf-8");
|
|
650
650
|
let config = void 0;
|
|
651
651
|
try {
|
|
652
|
-
const inlineConfig = await
|
|
652
|
+
const inlineConfig = await _chunkNLLGUORFjs.mergeViteConfigs.call(void 0,
|
|
653
653
|
options,
|
|
654
654
|
viteConfig,
|
|
655
655
|
{
|
|
656
656
|
root: options.userRoot,
|
|
657
657
|
plugins: [
|
|
658
|
-
await
|
|
658
|
+
await _chunkNLLGUORFjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
|
|
659
659
|
{
|
|
660
660
|
name: "resolve-config",
|
|
661
661
|
configResolved(_config) {
|
|
@@ -676,7 +676,7 @@ async function build(options, viteConfig = {}, args) {
|
|
|
676
676
|
} else {
|
|
677
677
|
console.log(_kolorist.blue.call(void 0, " building for Monaco...\n"));
|
|
678
678
|
await _vite.build.call(void 0,
|
|
679
|
-
await
|
|
679
|
+
await _chunkNLLGUORFjs.mergeViteConfigs.call(void 0,
|
|
680
680
|
options,
|
|
681
681
|
inlineConfig,
|
|
682
682
|
{
|
|
@@ -270,10 +270,10 @@ var dependencies = {
|
|
|
270
270
|
"@antfu/utils": "^0.7.2",
|
|
271
271
|
"@slidev/parser": "workspace:*",
|
|
272
272
|
"@slidev/types": "workspace:*",
|
|
273
|
-
"@unocss/reset": "^0.51.
|
|
274
|
-
"@vueuse/core": "^
|
|
275
|
-
"@vueuse/head": "^1.1.
|
|
276
|
-
"@vueuse/math": "^
|
|
273
|
+
"@unocss/reset": "^0.51.4",
|
|
274
|
+
"@vueuse/core": "^10.0.2",
|
|
275
|
+
"@vueuse/head": "^1.1.26",
|
|
276
|
+
"@vueuse/math": "^10.0.2",
|
|
277
277
|
"@vueuse/motion": "^2.0.0-beta.27",
|
|
278
278
|
codemirror: "^5.65.5",
|
|
279
279
|
defu: "^6.1.2",
|
|
@@ -282,14 +282,14 @@ var dependencies = {
|
|
|
282
282
|
"fuse.js": "^6.6.2",
|
|
283
283
|
"js-base64": "^3.7.5",
|
|
284
284
|
"js-yaml": "^4.1.0",
|
|
285
|
-
katex: "^0.16.
|
|
285
|
+
katex: "^0.16.6",
|
|
286
286
|
mermaid: "^10.1.0",
|
|
287
287
|
"monaco-editor": "^0.37.1",
|
|
288
288
|
nanoid: "^4.0.2",
|
|
289
289
|
prettier: "^2.8.7",
|
|
290
290
|
recordrtc: "^5.6.2",
|
|
291
291
|
resolve: "^1.22.2",
|
|
292
|
-
unocss: "^0.51.
|
|
292
|
+
unocss: "^0.51.4",
|
|
293
293
|
"vite-plugin-windicss": "^1.8.10",
|
|
294
294
|
vue: "^3.2.47",
|
|
295
295
|
"vue-router": "^4.1.6",
|