@vixt/uni 0.3.6 → 0.4.0
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/package.json +5 -4
- package/dist/index.d.mts +0 -61
- package/dist/index.d.ts +0 -61
- package/dist/index.mjs +0 -271
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vixt/uni",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.4.0",
|
|
5
5
|
"author": "SoulLyoko<https://github.com/SoulLyoko>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/SoulLyoko/vixt#readme",
|
|
@@ -26,10 +26,11 @@
|
|
|
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.
|
|
30
|
-
"@vixt/vue": "0.
|
|
29
|
+
"@vixt/core": "0.4.0",
|
|
30
|
+
"@vixt/vue": "0.4.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"build": "unbuild"
|
|
33
|
+
"build": "unbuild",
|
|
34
|
+
"dev": "unbuild --stub"
|
|
34
35
|
}
|
|
35
36
|
}
|
package/dist/index.d.mts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as vite from 'vite';
|
|
2
|
-
import * as _vixt_core from '@vixt/core';
|
|
3
|
-
import { Vixt, PluginOptions, VixtOptions } from '@vixt/core';
|
|
4
|
-
import { AppOptions } from '@vixt/vue';
|
|
5
|
-
import { PluginOptions as PluginOptions$1 } from 'pinia-plugin-persistedstate';
|
|
6
|
-
import Uni from '@dcloudio/vite-plugin-uni';
|
|
7
|
-
import Components from '@uni-helper/vite-plugin-uni-components';
|
|
8
|
-
import Layouts from '@uni-helper/vite-plugin-uni-layouts';
|
|
9
|
-
import Pages from '@uni-helper/vite-plugin-uni-pages';
|
|
10
|
-
import UnoCSS from 'unocss/vite';
|
|
11
|
-
import AutoImport from 'unplugin-auto-import/vite';
|
|
12
|
-
import { ImportsMap } from 'unplugin-auto-import/types';
|
|
13
|
-
|
|
14
|
-
declare function generateMainTs(options: AppOptions, vixt: Vixt): string;
|
|
15
|
-
declare const appUni: _vixt_core.VixtModule<AppOptions>;
|
|
16
|
-
|
|
17
|
-
declare module '@vixt/core' {
|
|
18
|
-
interface VixtOptions {
|
|
19
|
-
uni?: PluginOptions<typeof Uni>;
|
|
20
|
-
/** https://github.com/uni-helper/vite-plugin-uni-pages */
|
|
21
|
-
uniPages?: PluginOptions<typeof Pages>;
|
|
22
|
-
/** https://github.com/uni-helper/vite-plugin-uni-layouts */
|
|
23
|
-
uniLayouts?: PluginOptions<typeof Layouts>;
|
|
24
|
-
/** https://github.com/uni-helper/vite-plugin-uni-components */
|
|
25
|
-
uniComponents?: PluginOptions<typeof Components>;
|
|
26
|
-
/** https://github.com/antfu/unplugin-auto-import */
|
|
27
|
-
imports?: PluginOptions<typeof AutoImport>;
|
|
28
|
-
/** https://github.com/antfu/unocss */
|
|
29
|
-
unocss?: PluginOptions<typeof UnoCSS>;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
declare module '@vixt/core/client' {
|
|
33
|
-
interface VixtAppConfig {
|
|
34
|
-
/** https://github.com/prazdevs/pinia-plugin-persistedstate */
|
|
35
|
-
piniaPersistedState?: PluginOptions$1;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
declare const presetUni: _vixt_core.VixtModule<VixtOptions>;
|
|
39
|
-
|
|
40
|
-
declare module '@vixt/core' {
|
|
41
|
-
interface VixtOptions {
|
|
42
|
-
uniModules?: ModuleOptions;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
interface ModuleOptions {
|
|
46
|
-
include?: string[];
|
|
47
|
-
exclude?: string[];
|
|
48
|
-
}
|
|
49
|
-
declare const uniModules: _vixt_core.VixtModule<_vixt_core.ModuleOptions>;
|
|
50
|
-
|
|
51
|
-
/** 增加小程序中vueuse的运行所需 */
|
|
52
|
-
declare function vueusePolyfill(code: string, id: string): string;
|
|
53
|
-
/** 移除路径中的'../' */
|
|
54
|
-
declare function patchNormalizeNodeModules(): void;
|
|
55
|
-
declare const uniPatch: (options?: any) => vite.PluginOption;
|
|
56
|
-
|
|
57
|
-
declare function useImports(): ImportsMap;
|
|
58
|
-
|
|
59
|
-
declare const _default: (options?: _vixt_core.VixtOptions | undefined) => vite.PluginOption;
|
|
60
|
-
|
|
61
|
-
export { type ModuleOptions, appUni, _default as default, generateMainTs, patchNormalizeNodeModules, presetUni, uniModules, uniPatch, useImports, vueusePolyfill };
|
package/dist/index.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import * as vite from 'vite';
|
|
2
|
-
import * as _vixt_core from '@vixt/core';
|
|
3
|
-
import { Vixt, PluginOptions, VixtOptions } from '@vixt/core';
|
|
4
|
-
import { AppOptions } from '@vixt/vue';
|
|
5
|
-
import { PluginOptions as PluginOptions$1 } from 'pinia-plugin-persistedstate';
|
|
6
|
-
import Uni from '@dcloudio/vite-plugin-uni';
|
|
7
|
-
import Components from '@uni-helper/vite-plugin-uni-components';
|
|
8
|
-
import Layouts from '@uni-helper/vite-plugin-uni-layouts';
|
|
9
|
-
import Pages from '@uni-helper/vite-plugin-uni-pages';
|
|
10
|
-
import UnoCSS from 'unocss/vite';
|
|
11
|
-
import AutoImport from 'unplugin-auto-import/vite';
|
|
12
|
-
import { ImportsMap } from 'unplugin-auto-import/types';
|
|
13
|
-
|
|
14
|
-
declare function generateMainTs(options: AppOptions, vixt: Vixt): string;
|
|
15
|
-
declare const appUni: _vixt_core.VixtModule<AppOptions>;
|
|
16
|
-
|
|
17
|
-
declare module '@vixt/core' {
|
|
18
|
-
interface VixtOptions {
|
|
19
|
-
uni?: PluginOptions<typeof Uni>;
|
|
20
|
-
/** https://github.com/uni-helper/vite-plugin-uni-pages */
|
|
21
|
-
uniPages?: PluginOptions<typeof Pages>;
|
|
22
|
-
/** https://github.com/uni-helper/vite-plugin-uni-layouts */
|
|
23
|
-
uniLayouts?: PluginOptions<typeof Layouts>;
|
|
24
|
-
/** https://github.com/uni-helper/vite-plugin-uni-components */
|
|
25
|
-
uniComponents?: PluginOptions<typeof Components>;
|
|
26
|
-
/** https://github.com/antfu/unplugin-auto-import */
|
|
27
|
-
imports?: PluginOptions<typeof AutoImport>;
|
|
28
|
-
/** https://github.com/antfu/unocss */
|
|
29
|
-
unocss?: PluginOptions<typeof UnoCSS>;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
declare module '@vixt/core/client' {
|
|
33
|
-
interface VixtAppConfig {
|
|
34
|
-
/** https://github.com/prazdevs/pinia-plugin-persistedstate */
|
|
35
|
-
piniaPersistedState?: PluginOptions$1;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
declare const presetUni: _vixt_core.VixtModule<VixtOptions>;
|
|
39
|
-
|
|
40
|
-
declare module '@vixt/core' {
|
|
41
|
-
interface VixtOptions {
|
|
42
|
-
uniModules?: ModuleOptions;
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
interface ModuleOptions {
|
|
46
|
-
include?: string[];
|
|
47
|
-
exclude?: string[];
|
|
48
|
-
}
|
|
49
|
-
declare const uniModules: _vixt_core.VixtModule<_vixt_core.ModuleOptions>;
|
|
50
|
-
|
|
51
|
-
/** 增加小程序中vueuse的运行所需 */
|
|
52
|
-
declare function vueusePolyfill(code: string, id: string): string;
|
|
53
|
-
/** 移除路径中的'../' */
|
|
54
|
-
declare function patchNormalizeNodeModules(): void;
|
|
55
|
-
declare const uniPatch: (options?: any) => vite.PluginOption;
|
|
56
|
-
|
|
57
|
-
declare function useImports(): ImportsMap;
|
|
58
|
-
|
|
59
|
-
declare const _default: (options?: _vixt_core.VixtOptions | undefined) => vite.PluginOption;
|
|
60
|
-
|
|
61
|
-
export { type ModuleOptions, appUni, _default as default, generateMainTs, patchNormalizeNodeModules, presetUni, uniModules, uniPatch, useImports, vueusePolyfill };
|
package/dist/index.mjs
DELETED
|
@@ -1,271 +0,0 @@
|
|
|
1
|
-
import { defineVixtModule, resolveLayersDirs, defineVitePlugin, createVixtPlugin } from '@vixt/core';
|
|
2
|
-
import { generateIndexHtml, genarateAppComponent, generateCss, generateAppConfig, generatePlugins } from '@vixt/vue';
|
|
3
|
-
import fs from 'fs-extra';
|
|
4
|
-
import path from 'pathe';
|
|
5
|
-
import Uni from '@dcloudio/vite-plugin-uni';
|
|
6
|
-
import Components from '@uni-helper/vite-plugin-uni-components';
|
|
7
|
-
import Layouts from '@uni-helper/vite-plugin-uni-layouts';
|
|
8
|
-
import Pages from '@uni-helper/vite-plugin-uni-pages';
|
|
9
|
-
import defu from 'defu';
|
|
10
|
-
import UnoCSS from 'unocss/vite';
|
|
11
|
-
import AutoImport from 'unplugin-auto-import/vite';
|
|
12
|
-
import { resolvePathSync } from 'mlly';
|
|
13
|
-
import { readFileSync } from 'node:fs';
|
|
14
|
-
import process from 'node:process';
|
|
15
|
-
import { uniuseAutoImports } from '@uni-helper/uni-use';
|
|
16
|
-
import { resolveModule } from 'local-pkg';
|
|
17
|
-
|
|
18
|
-
function generateMainTs(options, vixt) {
|
|
19
|
-
const { buildDir, srcDir } = vixt.options;
|
|
20
|
-
const mainTsPath = path.resolve(srcDir, "main.ts");
|
|
21
|
-
if (!fs.existsSync(mainTsPath))
|
|
22
|
-
fs.outputFileSync(mainTsPath, `// Generated by Vixt
|
|
23
|
-
// This file transform from '${path.basename(buildDir)}/main.ts'
|
|
24
|
-
`);
|
|
25
|
-
const appComponentTemplate = genarateAppComponent(vixt);
|
|
26
|
-
const cssTemplate = generateCss(options);
|
|
27
|
-
const appConfigTemplate = generateAppConfig(vixt);
|
|
28
|
-
const pluginsTemplate = generatePlugins(vixt);
|
|
29
|
-
const code = `// Generated by Vixt
|
|
30
|
-
// This file transform to '${srcDir}/main.ts'
|
|
31
|
-
// @ts-nocheck
|
|
32
|
-
${appComponentTemplate}
|
|
33
|
-
${cssTemplate}
|
|
34
|
-
${appConfigTemplate}
|
|
35
|
-
${pluginsTemplate}
|
|
36
|
-
|
|
37
|
-
import 'virtual:uno.css'
|
|
38
|
-
import { createSSRApp } from 'vue'
|
|
39
|
-
import * as Pinia from 'pinia'
|
|
40
|
-
import { createPersistedState } from 'pinia-plugin-persistedstate'
|
|
41
|
-
import { pages as routes } from 'virtual:uni-pages'
|
|
42
|
-
|
|
43
|
-
export function createApp() {
|
|
44
|
-
const app = createSSRApp(App)
|
|
45
|
-
const pinia = Pinia.createPinia()
|
|
46
|
-
pinia.use(createPersistedState({
|
|
47
|
-
storage: {
|
|
48
|
-
getItem: uni.getStorageSync,
|
|
49
|
-
setItem: uni.setStorageSync,
|
|
50
|
-
},
|
|
51
|
-
...appConfig.piniaPersistedState,
|
|
52
|
-
}))
|
|
53
|
-
app.use(pinia)
|
|
54
|
-
usePlugins({ app, routes, pinia, appConfig })
|
|
55
|
-
|
|
56
|
-
return { app, Pinia }
|
|
57
|
-
}
|
|
58
|
-
`;
|
|
59
|
-
fs.outputFileSync(path.resolve(buildDir, "main.ts"), code);
|
|
60
|
-
return code;
|
|
61
|
-
}
|
|
62
|
-
const name$2 = "vixt:app";
|
|
63
|
-
const defaults$1 = {
|
|
64
|
-
rootId: "app",
|
|
65
|
-
rootTag: "div",
|
|
66
|
-
baseURL: "/",
|
|
67
|
-
css: [],
|
|
68
|
-
head: {
|
|
69
|
-
meta: [
|
|
70
|
-
{ charset: "utf-8" },
|
|
71
|
-
{ name: "viewport", content: "width=device-width, initial-scale=1" }
|
|
72
|
-
]
|
|
73
|
-
}
|
|
74
|
-
};
|
|
75
|
-
const appUni = defineVixtModule({
|
|
76
|
-
meta: { name: name$2, configKey: "app" },
|
|
77
|
-
defaults: defaults$1,
|
|
78
|
-
setup(options, vixt) {
|
|
79
|
-
let indexHtmlCode;
|
|
80
|
-
let mainTsCode;
|
|
81
|
-
const mainTsPath = path.resolve(vixt.options.srcDir, "main.ts");
|
|
82
|
-
return {
|
|
83
|
-
name: name$2,
|
|
84
|
-
configResolved() {
|
|
85
|
-
indexHtmlCode = generateIndexHtml(options, vixt);
|
|
86
|
-
mainTsCode = generateMainTs(options, vixt);
|
|
87
|
-
},
|
|
88
|
-
transformIndexHtml: {
|
|
89
|
-
order: "pre",
|
|
90
|
-
handler() {
|
|
91
|
-
return indexHtmlCode;
|
|
92
|
-
}
|
|
93
|
-
},
|
|
94
|
-
transform: {
|
|
95
|
-
order: "pre",
|
|
96
|
-
handler(_, id) {
|
|
97
|
-
if (id !== mainTsPath)
|
|
98
|
-
return;
|
|
99
|
-
return mainTsCode;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
};
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
const name$1 = "vixt:preset-uni";
|
|
107
|
-
const presetUni = defineVixtModule({
|
|
108
|
-
meta: { name: name$1 },
|
|
109
|
-
setup(_, vixt) {
|
|
110
|
-
const { components, composables = [], constants = [], utils = [], stores = [] } = resolveLayersDirs(vixt._layers);
|
|
111
|
-
const { buildTypesDir, buildImportsDir } = vixt.options;
|
|
112
|
-
const defaultOptions = {
|
|
113
|
-
uni: {},
|
|
114
|
-
uniPages: { dts: `${buildTypesDir}/uni-pages.d.ts` },
|
|
115
|
-
uniLayouts: {},
|
|
116
|
-
uniComponents: {
|
|
117
|
-
dts: `${buildTypesDir}/components.d.ts`,
|
|
118
|
-
dirs: components,
|
|
119
|
-
directoryAsNamespace: true,
|
|
120
|
-
collapseSamePrefixes: true
|
|
121
|
-
},
|
|
122
|
-
imports: {
|
|
123
|
-
imports: ["vue", "uni-app", "pinia", useImports()],
|
|
124
|
-
dts: `${buildTypesDir}/auto-imports.d.ts`,
|
|
125
|
-
dirs: [...composables, ...constants, ...stores, ...utils, buildImportsDir],
|
|
126
|
-
vueTemplate: true
|
|
127
|
-
},
|
|
128
|
-
unocss: {}
|
|
129
|
-
};
|
|
130
|
-
const options = vixt.options = defu(vixt.options, defaultOptions);
|
|
131
|
-
const modules = [
|
|
132
|
-
Pages(options.uniPages),
|
|
133
|
-
Layouts(options.uniLayouts),
|
|
134
|
-
Components(options.uniComponents),
|
|
135
|
-
AutoImport(options.imports),
|
|
136
|
-
UnoCSS(options.unocss),
|
|
137
|
-
// @ts-expect-error
|
|
138
|
-
Uni.default(options.uni),
|
|
139
|
-
uniPatch()
|
|
140
|
-
];
|
|
141
|
-
return modules;
|
|
142
|
-
}
|
|
143
|
-
});
|
|
144
|
-
|
|
145
|
-
function copyUniModules(options, vixt) {
|
|
146
|
-
const { srcDir } = vixt.options;
|
|
147
|
-
const { include, exclude } = options ?? {};
|
|
148
|
-
const { uni_modules = [] } = resolveLayersDirs(vixt._layers);
|
|
149
|
-
const srcUniModulesPath = path.join(srcDir, "uni_modules");
|
|
150
|
-
uni_modules.forEach((uniModulesPath) => {
|
|
151
|
-
fs.readdirSync(uniModulesPath).filter((dir) => {
|
|
152
|
-
if (include?.length)
|
|
153
|
-
return include.includes(dir);
|
|
154
|
-
if (exclude?.length)
|
|
155
|
-
return !exclude.includes(dir);
|
|
156
|
-
return true;
|
|
157
|
-
}).forEach((dir) => {
|
|
158
|
-
const srcPath = path.join(uniModulesPath, dir);
|
|
159
|
-
const destPath = path.join(srcUniModulesPath, dir);
|
|
160
|
-
if (srcPath !== destPath) {
|
|
161
|
-
try {
|
|
162
|
-
fs.copySync(srcPath, destPath);
|
|
163
|
-
fs.writeFileSync(path.join(destPath, ".gitignore"), "*", "utf-8");
|
|
164
|
-
} catch (e) {
|
|
165
|
-
console.error(`Error copying ${srcPath} to ${destPath}:
|
|
166
|
-
`, e);
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
}
|
|
172
|
-
const name = "vixt:uni-modules";
|
|
173
|
-
const uniModules = defineVixtModule({
|
|
174
|
-
meta: { name, configKey: "uniModules" },
|
|
175
|
-
setup(options, vixt) {
|
|
176
|
-
copyUniModules(options, vixt);
|
|
177
|
-
return {
|
|
178
|
-
name,
|
|
179
|
-
configureServer(server) {
|
|
180
|
-
const { uni_modules = [] } = resolveLayersDirs(vixt._layers);
|
|
181
|
-
server.watcher.add(uni_modules);
|
|
182
|
-
server.watcher.on("all", (_, file) => {
|
|
183
|
-
const match = uni_modules.some((e) => path.normalize(file).match(e));
|
|
184
|
-
if (match)
|
|
185
|
-
copyUniModules(options, vixt);
|
|
186
|
-
});
|
|
187
|
-
}
|
|
188
|
-
};
|
|
189
|
-
}
|
|
190
|
-
});
|
|
191
|
-
|
|
192
|
-
function vueusePolyfill(code, id) {
|
|
193
|
-
if (!id.endsWith("@dcloudio/uni-mp-vue/dist/vue.runtime.esm.js"))
|
|
194
|
-
return code;
|
|
195
|
-
code += `
|
|
196
|
-
export const render = () => {}
|
|
197
|
-
export const TransitionGroup = {}
|
|
198
|
-
`;
|
|
199
|
-
return code;
|
|
200
|
-
}
|
|
201
|
-
function patchNormalizeNodeModules() {
|
|
202
|
-
const matched = `str = normalizePath(str).replace(NODE_MODULES_REGEX, 'node-modules');`;
|
|
203
|
-
const replaced = `str = normalizePath(str).replace(NODE_MODULES_REGEX, 'node-modules').replace(/\\.\\.\\//g, '');`;
|
|
204
|
-
const codePath = resolvePathSync("@dcloudio/uni-cli-shared/dist/utils.js");
|
|
205
|
-
let code = fs.readFileSync(codePath, "utf8");
|
|
206
|
-
if (code.includes(matched)) {
|
|
207
|
-
code = code.replace(matched, replaced);
|
|
208
|
-
fs.writeFileSync(codePath, code);
|
|
209
|
-
}
|
|
210
|
-
}
|
|
211
|
-
const uniPatch = defineVitePlugin(() => {
|
|
212
|
-
patchNormalizeNodeModules();
|
|
213
|
-
return {
|
|
214
|
-
name: "vixt:uni-patch",
|
|
215
|
-
transform(code, id) {
|
|
216
|
-
code = vueusePolyfill(code, id);
|
|
217
|
-
return code;
|
|
218
|
-
}
|
|
219
|
-
};
|
|
220
|
-
});
|
|
221
|
-
|
|
222
|
-
let _cache;
|
|
223
|
-
function useImports() {
|
|
224
|
-
const excluded = [
|
|
225
|
-
"toRefs",
|
|
226
|
-
"utils",
|
|
227
|
-
"toRef",
|
|
228
|
-
"toValue",
|
|
229
|
-
"tryOnScopeDispose",
|
|
230
|
-
"useNetwork",
|
|
231
|
-
"useOnline",
|
|
232
|
-
"usePreferredDark",
|
|
233
|
-
"useStorage",
|
|
234
|
-
"useStorageAsync"
|
|
235
|
-
];
|
|
236
|
-
if (!_cache) {
|
|
237
|
-
let indexesJson;
|
|
238
|
-
try {
|
|
239
|
-
const corePath = resolveModule("@vueuse/core") || process.cwd();
|
|
240
|
-
const path = resolveModule("@vueuse/core/indexes.json") || resolveModule("@vueuse/metadata/index.json") || resolveModule("@vueuse/metadata/index.json", { paths: [corePath] });
|
|
241
|
-
indexesJson = JSON.parse(readFileSync(path, "utf-8"));
|
|
242
|
-
} catch (error) {
|
|
243
|
-
console.error(error);
|
|
244
|
-
throw new Error("[auto-import] failed to load @vueuse/core, have you installed it?");
|
|
245
|
-
}
|
|
246
|
-
if (indexesJson) {
|
|
247
|
-
_cache = {
|
|
248
|
-
"@vueuse/core": indexesJson.functions.filter((i) => ["core", "shared"].includes(i.package)).flatMap((i) => [i.name, ...i.alias || []]).filter((i) => i && i.length >= 4 && !excluded.includes(i)),
|
|
249
|
-
...uniuseAutoImports()
|
|
250
|
-
};
|
|
251
|
-
}
|
|
252
|
-
}
|
|
253
|
-
return _cache || {};
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
const defaults = {
|
|
257
|
-
modules: [uniModules, appUni, presetUni],
|
|
258
|
-
typescript: {
|
|
259
|
-
tsConfig: {
|
|
260
|
-
compilerOptions: {
|
|
261
|
-
types: ["@dcloudio/types", "@uni-helper/uni-app-types", "@uni-helper/vite-plugin-uni-pages/client"]
|
|
262
|
-
},
|
|
263
|
-
vueCompilerOptions: {
|
|
264
|
-
plugins: ["@uni-helper/uni-app-types/volar-plugin"]
|
|
265
|
-
}
|
|
266
|
-
}
|
|
267
|
-
}
|
|
268
|
-
};
|
|
269
|
-
const index = createVixtPlugin({ defaults });
|
|
270
|
-
|
|
271
|
-
export { appUni, index as default, generateMainTs, patchNormalizeNodeModules, presetUni, uniModules, uniPatch, useImports, vueusePolyfill };
|