@dcloudio/uni-cli-shared 2.0.0-alpha-33020211126001 → 2.0.1-32920211122003
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/lib/platform.js +1 -5
- package/package.json +2 -2
package/lib/platform.js
CHANGED
|
@@ -90,11 +90,7 @@ module.exports = {
|
|
|
90
90
|
},
|
|
91
91
|
getMPRuntimePath () {
|
|
92
92
|
if (process.env.UNI_USING_VUE3) {
|
|
93
|
-
|
|
94
|
-
return require.resolve('@dcloudio/uni-' + process.env.UNI_PLATFORM + '/dist/uni.mp.esm.js')
|
|
95
|
-
} catch (error) {
|
|
96
|
-
throw new Error('Vue3 项目暂不支持当前小程序')
|
|
97
|
-
}
|
|
93
|
+
return require.resolve('@dcloudio/uni-' + process.env.UNI_PLATFORM + '/dist/uni.mp.esm.js')
|
|
98
94
|
}
|
|
99
95
|
return require.resolve('@dcloudio/uni-' + process.env.UNI_PLATFORM)
|
|
100
96
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-cli-shared",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.1-32920211122003",
|
|
4
4
|
"description": "uni-cli-shared",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -23,5 +23,5 @@
|
|
|
23
23
|
"postcss-urlrewrite": "^0.2.2",
|
|
24
24
|
"strip-json-comments": "^2.0.1"
|
|
25
25
|
},
|
|
26
|
-
"gitHead": "
|
|
26
|
+
"gitHead": "547072012788a28569b9b8d073b22715a9f6dbb1"
|
|
27
27
|
}
|