@slidev/cli 0.49.11 → 0.49.13

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,10 +1,8 @@
1
1
  import {
2
2
  getIndexHtml,
3
3
  resolveViteConfigs
4
- } from "./chunk-4LA667A3.mjs";
5
- import "./chunk-LOUKLO2C.mjs";
6
- import "./chunk-RG2EEPCO.mjs";
7
- import "./chunk-BXO7ZPPU.mjs";
4
+ } from "./chunk-HCZPMBQN.mjs";
5
+ import "./chunk-27Q2X57X.mjs";
8
6
 
9
7
  // node/commands/build.ts
10
8
  import { resolve } from "node:path";
@@ -53,7 +51,7 @@ async function build(options, viteConfig = {}, args) {
53
51
  await fs.writeFile(redirectsPath, `${config.base}* ${config.base}index.html 200
54
52
  `, "utf-8");
55
53
  if ([true, "true", "auto"].includes(options.data.config.download)) {
56
- const { exportSlides, getExportOptions } = await import("./export-BSOHDR2A.mjs");
54
+ const { exportSlides, getExportOptions } = await import("./export-UMDVDHQ3.mjs");
57
55
  const port = 12445;
58
56
  const app = connect();
59
57
  const server = http.createServer(app);
@@ -1,3 +1,29 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __commonJS = (cb, mod) => function __require() {
8
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
19
+ // If the importer is in node compatibility mode or this is not an ESM
20
+ // file that has been converted to a CommonJS file using a Babel-
21
+ // compatible transform (i.e. "__esModule" has not been set), then set
22
+ // "default" to the CommonJS "module.exports" for node compatibility.
23
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
24
+ mod
25
+ ));
26
+
1
27
  // node/resolver.ts
2
28
  import { dirname, join, relative, resolve } from "node:path";
3
29
  import * as fs from "node:fs";
@@ -180,6 +206,8 @@ async function getRoots(entry) {
180
206
  }
181
207
 
182
208
  export {
209
+ __commonJS,
210
+ __toESM,
183
211
  isInstalledGlobally,
184
212
  resolveImportUrl,
185
213
  toAtFS,