@dcloudio/vite-plugin-uni 3.0.0-alpha-3040320220325005 → 3.0.0-alpha-3040420220402002
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.
|
@@ -10,6 +10,7 @@ export declare function createConfigResolved(options: VitePluginUniResolvedOptio
|
|
|
10
10
|
cacheDir: string;
|
|
11
11
|
command: "build" | "serve";
|
|
12
12
|
mode: string;
|
|
13
|
+
isWorker: boolean;
|
|
13
14
|
isProduction: boolean;
|
|
14
15
|
env: Record<string, any>;
|
|
15
16
|
resolve: import("vite").ResolveOptions & {
|
|
@@ -5,10 +5,10 @@ declare const BUILT_IN_MODULES: {
|
|
|
5
5
|
vuex: string;
|
|
6
6
|
'vue-i18n': string;
|
|
7
7
|
'@dcloudio/uni-app': string;
|
|
8
|
-
'@dcloudio/uni-stat': string;
|
|
9
8
|
'@dcloudio/uni-cloud': string;
|
|
10
9
|
'@dcloudio/uni-i18n': string;
|
|
11
10
|
'@dcloudio/uni-shared': string;
|
|
11
|
+
pinia: string;
|
|
12
12
|
};
|
|
13
13
|
export declare type BuiltInModulesKey = keyof typeof BUILT_IN_MODULES;
|
|
14
14
|
export declare function uniResolveIdPlugin(options: VitePluginUniResolvedOptions): Plugin;
|
|
@@ -13,10 +13,10 @@ const BUILT_IN_MODULES = {
|
|
|
13
13
|
vuex: 'dist/vuex.esm-bundler.js',
|
|
14
14
|
'vue-i18n': 'dist/vue-i18n.esm-bundler.js',
|
|
15
15
|
'@dcloudio/uni-app': 'dist/uni-app.es.js',
|
|
16
|
-
'@dcloudio/uni-stat': 'dist/uni-stat.es.js',
|
|
17
16
|
'@dcloudio/uni-cloud': 'dist/uni-cloud.es.js',
|
|
18
17
|
'@dcloudio/uni-i18n': 'dist/uni-i18n.es.js',
|
|
19
18
|
'@dcloudio/uni-shared': 'dist/uni-shared.es.js',
|
|
19
|
+
pinia: 'dist/pinia.mjs',
|
|
20
20
|
};
|
|
21
21
|
function uniResolveIdPlugin(options) {
|
|
22
22
|
const resolveCache = {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/vite-plugin-uni",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3040420220402002",
|
|
4
4
|
"description": "uni-app vite plugin",
|
|
5
5
|
"bin": {
|
|
6
6
|
"uni": "bin/uni.js"
|
|
@@ -22,15 +22,15 @@
|
|
|
22
22
|
},
|
|
23
23
|
"license": "Apache-2.0",
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@babel/core": "^7.17.
|
|
25
|
+
"@babel/core": "^7.17.8",
|
|
26
26
|
"@babel/plugin-syntax-import-meta": "^7.10.4",
|
|
27
27
|
"@babel/plugin-transform-typescript": "^7.16.8",
|
|
28
|
-
"@dcloudio/uni-cli-shared": "3.0.0-alpha-
|
|
29
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
30
|
-
"@rollup/pluginutils": "^4.
|
|
31
|
-
"@vitejs/plugin-legacy": "^1.
|
|
32
|
-
"@vitejs/plugin-vue": "^2.
|
|
33
|
-
"@vitejs/plugin-vue-jsx": "^1.3.
|
|
28
|
+
"@dcloudio/uni-cli-shared": "3.0.0-alpha-3040420220402002",
|
|
29
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3040420220402002",
|
|
30
|
+
"@rollup/pluginutils": "^4.2.0",
|
|
31
|
+
"@vitejs/plugin-legacy": "^1.8.0",
|
|
32
|
+
"@vitejs/plugin-vue": "^2.3.1",
|
|
33
|
+
"@vitejs/plugin-vue-jsx": "^1.3.9",
|
|
34
34
|
"@vue/compiler-core": "3.2.31",
|
|
35
35
|
"@vue/compiler-dom": "3.2.31",
|
|
36
36
|
"@vue/compiler-sfc": "3.2.31",
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"chokidar": "^3.5.3"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"vite": "^2.
|
|
56
|
+
"vite": "^2.9.1"
|
|
57
57
|
},
|
|
58
58
|
"uni-app": {
|
|
59
|
-
"compilerVersion": "3.4.
|
|
59
|
+
"compilerVersion": "3.4.4"
|
|
60
60
|
},
|
|
61
61
|
"gitHead": "33e807d66e1fe47e2ee08ad9c59247e37b8884da"
|
|
62
62
|
}
|