@vuepress-plume/plugin-fonts 1.0.0-rc.146 → 1.0.0-rc.148

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,6 +1,7 @@
1
- // src/client/config.ts
2
1
  import "./styles/fonts.css";
2
+
3
+ //#region src/client/config.ts
3
4
  var config_default = {};
4
- export {
5
- config_default as default
6
- };
5
+
6
+ //#endregion
7
+ export { config_default as default };
@@ -1,5 +1,7 @@
1
- import { Plugin } from 'vuepress/core';
1
+ import { Plugin } from "vuepress/core";
2
2
 
3
+ //#region src/node/plugin.d.ts
3
4
  declare function fontsPlugin(): Plugin;
4
5
 
5
- export { fontsPlugin };
6
+ //#endregion
7
+ export { fontsPlugin };
package/lib/node/index.js CHANGED
@@ -1,14 +1,12 @@
1
- // src/node/plugin.ts
2
1
  import { getDirname, path } from "vuepress/utils";
2
+
3
+ //#region src/node/plugin.ts
3
4
  function fontsPlugin() {
4
- return {
5
- name: "@vuepress-plume/plugin-fonts",
6
- clientConfigFile: path.resolve(
7
- getDirname(import.meta.url),
8
- "../client/config.js"
9
- )
10
- };
5
+ return {
6
+ name: "@vuepress-plume/plugin-fonts",
7
+ clientConfigFile: path.resolve(getDirname(import.meta.url), "../client/config.js")
8
+ };
11
9
  }
12
- export {
13
- fontsPlugin
14
- };
10
+
11
+ //#endregion
12
+ export { fontsPlugin };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@vuepress-plume/plugin-fonts",
3
3
  "type": "module",
4
- "version": "1.0.0-rc.146",
4
+ "version": "1.0.0-rc.148",
5
5
  "description": "The Plugin for VuePress 2 - fonts",
6
6
  "author": "pengzhanbo <volodymyr@foxmail.com>",
7
7
  "license": "MIT",
@@ -39,9 +39,9 @@
39
39
  "vuepress-plugin-fonts"
40
40
  ],
41
41
  "scripts": {
42
- "build": "pnpm run copy && pnpm run tsup",
42
+ "build": "pnpm run tsdown && pnpm run copy",
43
43
  "clean": "rimraf --glob ./lib",
44
44
  "copy": "cpx \"src/**/*.{d.ts,vue,css,scss,jpg,png,woff2}\" lib",
45
- "tsup": "tsup --config tsup.config.ts"
45
+ "tsdown": "tsdown"
46
46
  }
47
47
  }