@varlet/vite-plugins 3.8.2 → 3.8.3-alpha.1736270430406

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/lib/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  // src/markdown.ts
2
- import markdownIt from "markdown-it";
3
- import hljs from "highlight.js";
4
2
  import { kebabCase } from "@varlet/shared";
3
+ import hljs from "highlight.js";
4
+ import markdownIt from "markdown-it";
5
5
  import { pinyin } from "pinyin-pro";
6
6
  var includeChinese = (value) => /[\u4e00-\u9fa5]/.test(value);
7
7
  function transformHash(hash) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@varlet/vite-plugins",
3
- "version": "3.8.2",
3
+ "version": "3.8.3-alpha.1736270430406",
4
4
  "type": "module",
5
5
  "description": "vite plugins of varlet",
6
6
  "main": "lib/index.js",
@@ -26,7 +26,7 @@
26
26
  "highlight.js": "^10.7.2",
27
27
  "markdown-it": "^12.2.3",
28
28
  "pinyin-pro": "3.17.0",
29
- "@varlet/shared": "3.8.2"
29
+ "@varlet/shared": "3.8.3-alpha.1736270430406"
30
30
  },
31
31
  "devDependencies": {
32
32
  "@types/ejs": "^3.1.1",
package/src/copy.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Plugin } from 'vite'
2
1
  import fse from 'fs-extra'
2
+ import type { Plugin } from 'vite'
3
3
 
4
4
  const { copySync, copyFileSync } = fse
5
5
 
package/src/inlineCss.ts CHANGED
@@ -1,5 +1,5 @@
1
- import type { Plugin } from 'vite'
2
1
  import fse from 'fs-extra'
2
+ import type { Plugin } from 'vite'
3
3
 
4
4
  const { pathExistsSync, writeFileSync, readFileSync, removeSync } = fse
5
5
 
package/src/markdown.ts CHANGED
@@ -1,6 +1,6 @@
1
- import markdownIt from 'markdown-it'
2
- import hljs from 'highlight.js'
3
1
  import { kebabCase } from '@varlet/shared'
2
+ import hljs from 'highlight.js'
3
+ import markdownIt from 'markdown-it'
4
4
  import { pinyin } from 'pinyin-pro'
5
5
  import type { Plugin } from 'vite'
6
6