@slidev/cli 0.48.0-beta.25 → 0.48.0-beta.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.
|
@@ -217,11 +217,24 @@ function createConfigPlugin(options) {
|
|
|
217
217
|
const injection = {
|
|
218
218
|
define: getDefine(options),
|
|
219
219
|
resolve: {
|
|
220
|
-
alias:
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
220
|
+
alias: [
|
|
221
|
+
{
|
|
222
|
+
find: /^@slidev\/client$/,
|
|
223
|
+
replacement: `${toAtFS(options.clientRoot)}/index.ts`
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
find: /^@slidev\/client\/(.*)/,
|
|
227
|
+
replacement: `${toAtFS(options.clientRoot)}/$1`
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
find: /^#slidev\/(.*)/,
|
|
231
|
+
replacement: "/@slidev/$1"
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
find: "vue",
|
|
235
|
+
replacement: await resolveImportPath("vue/dist/vue.esm-browser.js", true)
|
|
236
|
+
}
|
|
237
|
+
],
|
|
225
238
|
dedupe: ["vue"]
|
|
226
239
|
},
|
|
227
240
|
optimizeDeps: {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ViteSlidevPlugin,
|
|
3
3
|
mergeViteConfigs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4QV6VXGP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createResolver,
|
|
7
7
|
getRoots,
|
|
@@ -48,7 +48,7 @@ async function createServer(options, viteConfig = {}, serverOptions = {}) {
|
|
|
48
48
|
import * as parser from "@slidev/parser/fs";
|
|
49
49
|
|
|
50
50
|
// package.json
|
|
51
|
-
var version = "0.48.0-beta.
|
|
51
|
+
var version = "0.48.0-beta.26";
|
|
52
52
|
|
|
53
53
|
// node/integrations/themes.ts
|
|
54
54
|
import { join as join2 } from "node:path";
|
package/dist/cli.mjs
CHANGED
|
@@ -6,8 +6,8 @@ import {
|
|
|
6
6
|
resolveOptions,
|
|
7
7
|
resolveTheme,
|
|
8
8
|
version
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-VF6CY2LH.mjs";
|
|
10
|
+
import "./chunk-4QV6VXGP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
loadSetups
|
|
13
13
|
} from "./chunk-LOUKLO2C.mjs";
|
|
@@ -324,7 +324,7 @@ cli.command(
|
|
|
324
324
|
}).strict().help(),
|
|
325
325
|
async (args) => {
|
|
326
326
|
const { entry, theme, watch, base, download, out, inspect } = args;
|
|
327
|
-
const { build } = await import("./build-
|
|
327
|
+
const { build } = await import("./build-Z4EJ6D37.mjs");
|
|
328
328
|
for (const entryFile of entry) {
|
|
329
329
|
const options = await resolveOptions({ entry: entryFile, theme, inspect }, "build");
|
|
330
330
|
if (download && !options.data.config.download)
|
package/dist/index.mjs
CHANGED
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
createServer,
|
|
3
3
|
parser,
|
|
4
4
|
resolveOptions
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VF6CY2LH.mjs";
|
|
6
6
|
import {
|
|
7
7
|
ViteSlidevPlugin
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4QV6VXGP.mjs";
|
|
9
9
|
import "./chunk-LOUKLO2C.mjs";
|
|
10
10
|
import "./chunk-HKSSAKUU.mjs";
|
|
11
11
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/cli",
|
|
3
|
-
"version": "0.48.0-beta.
|
|
3
|
+
"version": "0.48.0-beta.26",
|
|
4
4
|
"description": "Presentation slides for developers",
|
|
5
5
|
"author": "antfu <anthonyfu117@hotmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -106,9 +106,9 @@
|
|
|
106
106
|
"vitefu": "^0.2.5",
|
|
107
107
|
"vue": "^3.4.21",
|
|
108
108
|
"yargs": "^17.7.2",
|
|
109
|
-
"@slidev/client": "0.48.0-beta.
|
|
110
|
-
"@slidev/
|
|
111
|
-
"@slidev/
|
|
109
|
+
"@slidev/client": "0.48.0-beta.26",
|
|
110
|
+
"@slidev/types": "0.48.0-beta.26",
|
|
111
|
+
"@slidev/parser": "0.48.0-beta.26"
|
|
112
112
|
},
|
|
113
113
|
"devDependencies": {
|
|
114
114
|
"@hedgedoc/markdown-it-plugins": "^2.1.4",
|