@slidev/cli 0.38.3 → 0.38.5

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.
@@ -2,7 +2,7 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkRJUDK22Kjs = require('./chunk-RJUDK22K.js');
5
+ var _chunkSJ7FI34Ejs = require('./chunk-SJ7FI34E.js');
6
6
 
7
7
 
8
8
 
@@ -655,16 +655,16 @@ async function build(options, viteConfig = {}) {
655
655
  let originalIndexHTML;
656
656
  if (_fsextra2.default.existsSync(indexPath))
657
657
  originalIndexHTML = await _fsextra2.default.readFile(indexPath, "utf-8");
658
- await _fsextra2.default.writeFile(indexPath, await _chunkRJUDK22Kjs.getIndexHtml.call(void 0, options), "utf-8");
658
+ await _fsextra2.default.writeFile(indexPath, await _chunkSJ7FI34Ejs.getIndexHtml.call(void 0, options), "utf-8");
659
659
  let config = void 0;
660
660
  try {
661
- const inlineConfig = await _chunkRJUDK22Kjs.mergeViteConfigs.call(void 0,
661
+ const inlineConfig = await _chunkSJ7FI34Ejs.mergeViteConfigs.call(void 0,
662
662
  options,
663
663
  viteConfig,
664
664
  {
665
665
  root: options.userRoot,
666
666
  plugins: [
667
- await _chunkRJUDK22Kjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
667
+ await _chunkSJ7FI34Ejs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
668
668
  {
669
669
  name: "resolve-config",
670
670
  configResolved(_config) {
@@ -685,7 +685,7 @@ async function build(options, viteConfig = {}) {
685
685
  } else {
686
686
  console.log(_kolorist.blue.call(void 0, " building for Monaco...\n"));
687
687
  await _vite.build.call(void 0,
688
- await _chunkRJUDK22Kjs.mergeViteConfigs.call(void 0,
688
+ await _chunkSJ7FI34Ejs.mergeViteConfigs.call(void 0,
689
689
  options,
690
690
  inlineConfig,
691
691
  {
@@ -725,7 +725,7 @@ async function build(options, viteConfig = {}) {
725
725
  await _fsextra2.default.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
726
726
  `, "utf-8");
727
727
  if ([true, "true", "auto"].includes(options.data.config.download)) {
728
- const { exportSlides } = await Promise.resolve().then(() => _chunkOVFYMGU6js.__toESM.call(void 0, _chunkOVFYMGU6js.__require.call(void 0, "./export-OIZT2CQS.js")));
728
+ const { exportSlides } = await Promise.resolve().then(() => _chunkOVFYMGU6js.__toESM.call(void 0, _chunkOVFYMGU6js.__require.call(void 0, "./export-RNJ27D27.js")));
729
729
  const port = 12445;
730
730
  const app = _connect2.default.call(void 0, );
731
731
  const server = _http2.default.createServer(app);
@@ -2,7 +2,7 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml,
4
4
  mergeViteConfigs
5
- } from "./chunk-ES6ZBV6W.mjs";
5
+ } from "./chunk-MDHB5JSE.mjs";
6
6
  import {
7
7
  __require,
8
8
  __toESM,
@@ -725,7 +725,7 @@ async function build(options, viteConfig = {}) {
725
725
  await fs2.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
726
726
  `, "utf-8");
727
727
  if ([true, "true", "auto"].includes(options.data.config.download)) {
728
- const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-JGJTLG7B.mjs")));
728
+ const { exportSlides } = await Promise.resolve().then(() => __toESM(__require("./export-2OSN6D4K.mjs")));
729
729
  const port = 12445;
730
730
  const app = connect();
731
731
  const server = http.createServer(app);