@vixt/uni 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 +4 -3
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, generateIndexHtml, defineVitePlugin, resolveLayersDirs, createVixtPlugin } from '@vixt/core';
|
|
1
|
+
import { generateClient, generateCss, generateAppConfig, generatePlugins, defineVixtModule, generateIndexHtml, defineVitePlugin, resolveLayersDirs, patchUnocss, createVixtPlugin } from '@vixt/core';
|
|
2
2
|
import path from 'pathe';
|
|
3
3
|
import { genarateAppComponent } from '@vixt/vue';
|
|
4
4
|
import fs from 'fs-extra';
|
|
@@ -195,15 +195,16 @@ const presetUni = defineVixtModule({
|
|
|
195
195
|
unocss: {}
|
|
196
196
|
};
|
|
197
197
|
const options = vixt.options = defu(vixt.options, defaultOptions);
|
|
198
|
+
patchUnocss();
|
|
198
199
|
const modules = [
|
|
199
200
|
Pages(options.uniPages),
|
|
200
201
|
Layouts(options.uniLayouts),
|
|
201
202
|
Components(options.uniComponents),
|
|
202
203
|
AutoImport(options.imports),
|
|
203
204
|
UnoCSS(options.unocss),
|
|
205
|
+
uniPatch(),
|
|
204
206
|
// @ts-expect-error
|
|
205
|
-
Uni.default(options.uni)
|
|
206
|
-
uniPatch()
|
|
207
|
+
Uni.default(options.uni)
|
|
207
208
|
];
|
|
208
209
|
return modules;
|
|
209
210
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/uni",
|
|
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",
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
"@uni-helper/vite-plugin-uni-layouts": "^0.1.10",
|
|
27
27
|
"@uni-helper/vite-plugin-uni-pages": "^0.2.28",
|
|
28
28
|
"unocss-applet": "^0.10.0",
|
|
29
|
-
"@vixt/core": "0.4.
|
|
30
|
-
"@vixt/vue": "0.4.
|
|
29
|
+
"@vixt/core": "0.4.4",
|
|
30
|
+
"@vixt/vue": "0.4.4"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "unbuild",
|