@slidev/cli 0.42.4 → 0.42.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/bin/slidev.js CHANGED
@@ -1,6 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  'use strict'
3
3
 
4
+ const process = require('node:process')
4
5
  const path = require('node:path')
5
6
  const resolveFrom = require('resolve-from')
6
7
 
@@ -2,7 +2,7 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml,
4
4
  mergeViteConfigs
5
- } from "./chunk-3JYF6GOD.mjs";
5
+ } from "./chunk-FP2Y7WJ3.mjs";
6
6
  import "./chunk-6XVZLT3I.mjs";
7
7
  import "./chunk-CIUEQ4TI.mjs";
8
8
  import "./chunk-L5QH2WZE.mjs";
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkX2K32WHHjs = require('./chunk-X2K32WHH.js');
5
+ var _chunkOFNPVCQ3js = require('./chunk-OFNPVCQ3.js');
6
6
  require('./chunk-KKGXM3XL.js');
7
7
  require('./chunk-6ZL4B4HQ.js');
8
8
  require('./chunk-MJQETB73.js');
@@ -651,16 +651,16 @@ async function build(options, viteConfig = {}, args) {
651
651
  let originalIndexHTML;
652
652
  if (_fsextra2.default.existsSync(indexPath))
653
653
  originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
654
- await _fsextra2.default.writeFile(indexPath, await _chunkX2K32WHHjs.getIndexHtml.call(void 0, options), "utf-8");
654
+ await _fsextra2.default.writeFile(indexPath, await _chunkOFNPVCQ3js.getIndexHtml.call(void 0, options), "utf-8");
655
655
  let config = void 0;
656
656
  try {
657
- const inlineConfig = await _chunkX2K32WHHjs.mergeViteConfigs.call(void 0,
657
+ const inlineConfig = await _chunkOFNPVCQ3js.mergeViteConfigs.call(void 0,
658
658
  options,
659
659
  viteConfig,
660
660
  {
661
661
  root: options.userRoot,
662
662
  plugins: [
663
- await _chunkX2K32WHHjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
663
+ await _chunkOFNPVCQ3js.ViteSlidevPlugin.call(void 0, options, pluginOptions),
664
664
  {
665
665
  name: "resolve-config",
666
666
  configResolved(_config) {
@@ -681,7 +681,7 @@ async function build(options, viteConfig = {}, args) {
681
681
  } else {
682
682
  console.log(_kolorist.blue.call(void 0, " building for Monaco...\n"));
683
683
  await _vite.build.call(void 0,
684
- await _chunkX2K32WHHjs.mergeViteConfigs.call(void 0,
684
+ await _chunkOFNPVCQ3js.mergeViteConfigs.call(void 0,
685
685
  options,
686
686
  inlineConfig,
687
687
  {