@slidev/cli 0.40.6 → 0.40.9

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 _chunkIZ3FTOWYjs = require('./chunk-IZ3FTOWY.js');
5
+ var _chunkYZTX6FDHjs = require('./chunk-YZTX6FDH.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 _chunkIZ3FTOWYjs.getIndexHtml.call(void 0, options), "utf-8");
649
+ await _fsextra2.default.writeFile(indexPath, await _chunkYZTX6FDHjs.getIndexHtml.call(void 0, options), "utf-8");
650
650
  let config = void 0;
651
651
  try {
652
- const inlineConfig = await _chunkIZ3FTOWYjs.mergeViteConfigs.call(void 0,
652
+ const inlineConfig = await _chunkYZTX6FDHjs.mergeViteConfigs.call(void 0,
653
653
  options,
654
654
  viteConfig,
655
655
  {
656
656
  root: options.userRoot,
657
657
  plugins: [
658
- await _chunkIZ3FTOWYjs.ViteSlidevPlugin.call(void 0, options, pluginOptions),
658
+ await _chunkYZTX6FDHjs.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 _chunkIZ3FTOWYjs.mergeViteConfigs.call(void 0,
679
+ await _chunkYZTX6FDHjs.mergeViteConfigs.call(void 0,
680
680
  options,
681
681
  inlineConfig,
682
682
  {
@@ -717,7 +717,7 @@ async function build(options, viteConfig = {}, args) {
717
717
  await _fsextra2.default.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
718
718
  `, "utf-8");
719
719
  if ([true, "true", "auto"].includes(options.data.config.download)) {
720
- const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-INNI35CW.js"));
720
+ const { exportSlides, getExportOptions } = await Promise.resolve().then(() => require("./export-GTPZJWVE.js"));
721
721
  const port = 12445;
722
722
  const app = _connect2.default.call(void 0, );
723
723
  const server = _http2.default.createServer(app);
@@ -2,7 +2,7 @@ import {
2
2
  ViteSlidevPlugin,
3
3
  getIndexHtml,
4
4
  mergeViteConfigs
5
- } from "./chunk-IBT35HXF.mjs";
5
+ } from "./chunk-YVAD7SJ5.mjs";
6
6
  import "./chunk-CTG3GV2W.mjs";
7
7
 
8
8
  // node/build.ts
@@ -717,7 +717,7 @@ async function build(options, viteConfig = {}, args) {
717
717
  await fs2.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
718
718
  `, "utf-8");
719
719
  if ([true, "true", "auto"].includes(options.data.config.download)) {
720
- const { exportSlides, getExportOptions } = await import("./export-N3YCMXVO.mjs");
720
+ const { exportSlides, getExportOptions } = await import("./export-KPPDUO6Z.mjs");
721
721
  const port = 12445;
722
722
  const app = connect();
723
723
  const server = http.createServer(app);