@vixt/vitepress 0.4.3 → 0.4.4
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.mjs +2 -1
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, resolveLayersDirs, createVixtPlugin } from '@vixt/core';
|
|
1
|
+
import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, resolveLayersDirs, patchUnocss, createVixtPlugin } from '@vixt/core';
|
|
2
2
|
import path from 'pathe';
|
|
3
3
|
import fs from 'fs-extra';
|
|
4
4
|
import defu from 'defu';
|
|
@@ -98,6 +98,7 @@ const presetVitepress = defineVixtModule({
|
|
|
98
98
|
devtools: { enabled: false }
|
|
99
99
|
};
|
|
100
100
|
const options = vixt.options = defu(vixt.options, defaultOptions);
|
|
101
|
+
patchUnocss();
|
|
101
102
|
const plugins = [
|
|
102
103
|
Components(options.components),
|
|
103
104
|
AutoImport(options.imports),
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/vitepress",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.4",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/SoulLyoko/vixt#readme",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"vitepress": "^1.6.3",
|
|
22
|
-
"@vixt/core": "0.4.
|
|
23
|
-
"@vixt/vue": "0.4.
|
|
22
|
+
"@vixt/core": "0.4.4",
|
|
23
|
+
"@vixt/vue": "0.4.4"
|
|
24
24
|
},
|
|
25
25
|
"scripts": {
|
|
26
26
|
"build": "unbuild",
|