@slidev/types 0.23.1 → 0.25.1
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.
- package/dist/index.js +8 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true})
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var __require = typeof require !== "undefined" ? require : (x) => {
|
|
2
|
+
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
3
|
+
};
|
|
4
|
+
|
|
5
|
+
// ../../node_modules/.pnpm/tsup@5.1.0_typescript@4.4.3/node_modules/tsup/assets/cjs_shims.js
|
|
6
|
+
var importMetaUrlShim = typeof document === "undefined" ? new (__require("url")).URL("file:" + __filename).href : document.currentScript && document.currentScript.src || new URL("main.js", document.baseURI).href;
|
|
7
|
+
|
|
8
|
+
// src/setups.ts
|
|
2
9
|
function defineShikiSetup(fn) {
|
|
3
10
|
return fn;
|
|
4
11
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slidev/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.1",
|
|
4
4
|
"description": "Shared types declerations for Slidev",
|
|
5
5
|
"homepage": "https://sli.dev",
|
|
6
6
|
"bugs": "https://github.com/slidevjs/slidev/issues",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"node": ">=14.0.0"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
|
-
"build": "pnpx tsup src/index.ts --format cjs,esm --dts",
|
|
26
|
+
"build": "pnpx tsup src/index.ts --format cjs,esm --dts --splitting",
|
|
27
27
|
"dev": "nr build --watch"
|
|
28
28
|
}
|
|
29
29
|
}
|