@slidev/cli 0.49.29 → 0.50.0-beta.2

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,16 +1,15 @@
1
1
  import {
2
2
  resolveViteConfigs
3
- } from "./chunk-YP37OZJY.js";
4
- import "./chunk-6DS3IPOB.js";
5
- import "./chunk-HOVIRHCR.js";
3
+ } from "./chunk-TEOA76MP.js";
4
+ import "./chunk-UNQ5DBLZ.js";
6
5
 
7
6
  // node/commands/build.ts
8
- import { resolve } from "node:path";
9
7
  import http from "node:http";
10
- import fs from "fs-extra";
11
- import { build as viteBuild } from "vite";
8
+ import { resolve } from "node:path";
12
9
  import connect from "connect";
10
+ import fs from "fs-extra";
13
11
  import sirv from "sirv";
12
+ import { build as viteBuild } from "vite";
14
13
  async function build(options, viteConfig = {}, args) {
15
14
  const indexPath = resolve(options.userRoot, "index.html");
16
15
  let originalIndexHTML;
@@ -51,7 +50,7 @@ async function build(options, viteConfig = {}, args) {
51
50
  await fs.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
52
51
  `, "utf-8");
53
52
  if ([true, "true", "auto"].includes(options.data.config.download)) {
54
- const { exportSlides, getExportOptions } = await import("./export-FTRUCBWA.js");
53
+ const { exportSlides, getExportOptions } = await import("./export-WMRLKOJP.js");
55
54
  const port = 12445;
56
55
  const app = connect();
57
56
  const server = http.createServer(app);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveViteConfigs
3
- } from "./chunk-YP37OZJY.js";
3
+ } from "./chunk-TEOA76MP.js";
4
4
 
5
5
  // node/commands/serve.ts
6
6
  import { join } from "node:path";