@vixt/uni 0.5.7 → 0.5.8
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 -0
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -10,6 +10,7 @@ import defu from 'defu';
|
|
|
10
10
|
import UnoCSS from 'unocss/vite';
|
|
11
11
|
import AutoImport from 'unplugin-auto-import/vite';
|
|
12
12
|
import { resolvePathSync } from 'mlly';
|
|
13
|
+
import { normalizePath } from 'vite';
|
|
13
14
|
import { readFileSync } from 'node:fs';
|
|
14
15
|
import process from 'node:process';
|
|
15
16
|
import { uniuseAutoImports } from '@uni-helper/uni-use';
|
|
@@ -153,6 +154,7 @@ const uniPatch = defineVitePlugin(() => {
|
|
|
153
154
|
{
|
|
154
155
|
name: "vixt:uni-patch-runtime",
|
|
155
156
|
transform(code, id) {
|
|
157
|
+
id = normalizePath(id);
|
|
156
158
|
code = transformMpRuntime(code, id);
|
|
157
159
|
code = transformH5Runtime(code, id);
|
|
158
160
|
return code;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/uni",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.5.
|
|
4
|
+
"version": "0.5.8",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://soullyoko.github.io/vixt/",
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"@uni-helper/vite-plugin-uni-layouts": "^0.1.10",
|
|
34
34
|
"@uni-helper/vite-plugin-uni-pages": "^0.2.28",
|
|
35
35
|
"unocss-applet": "^0.10.0",
|
|
36
|
-
"@vixt/core": "0.5.
|
|
37
|
-
"@vixt/vue": "0.5.
|
|
36
|
+
"@vixt/core": "0.5.8",
|
|
37
|
+
"@vixt/vue": "0.5.8"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
40
|
"build": "unbuild",
|