@slidev/cli 0.49.24 → 0.49.26

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.
@@ -1,7 +1,6 @@
1
1
  import {
2
- getIndexHtml,
3
2
  resolveViteConfigs
4
- } from "./chunk-KX2WMXVC.js";
3
+ } from "./chunk-WAY7R2LN.js";
5
4
  import "./chunk-6DS3IPOB.js";
6
5
  import "./chunk-HOVIRHCR.js";
7
6
  import "./chunk-JSBRDJBE.js";
@@ -18,7 +17,7 @@ async function build(options, viteConfig = {}, args) {
18
17
  let originalIndexHTML;
19
18
  if (fs.existsSync(indexPath))
20
19
  originalIndexHTML = await fs.readFile(indexPath, "utf-8");
21
- await fs.writeFile(indexPath, await getIndexHtml(options), "utf-8");
20
+ await fs.writeFile(indexPath, options.utils.indexHtml, "utf-8");
22
21
  let config = void 0;
23
22
  try {
24
23
  const inlineConfig = await resolveViteConfigs(
@@ -53,7 +52,7 @@ async function build(options, viteConfig = {}, args) {
53
52
  await fs.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
54
53
  `, "utf-8");
55
54
  if ([true, "true", "auto"].includes(options.data.config.download)) {
56
- const { exportSlides, getExportOptions } = await import("./export-F3V7NX5E.js");
55
+ const { exportSlides, getExportOptions } = await import("./export-SZDV4AEI.js");
57
56
  const port = 12445;
58
57
  const app = connect();
59
58
  const server = http.createServer(app);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveViteConfigs
3
- } from "./chunk-KX2WMXVC.js";
3
+ } from "./chunk-WAY7R2LN.js";
4
4
 
5
5
  // node/commands/serve.ts
6
6
  import { join } from "node:path";