@dcloudio/uni-cli-shared 3.0.0-alpha-3021320211117004 → 3.0.0-alpha-3021320211117005
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/utils.js +1 -1
- package/package.json +3 -3
package/dist/utils.js
CHANGED
|
@@ -116,7 +116,7 @@ const NODE_MODULES_REGEX = /(\.\.\/)?node_modules/g;
|
|
|
116
116
|
function normalizeNodeModules(str) {
|
|
117
117
|
str = normalizePath(str).replace(NODE_MODULES_REGEX, 'node-modules');
|
|
118
118
|
// HBuilderX 内置模块路径转换
|
|
119
|
-
str = str.replace(/.*\/plugins\/uniapp-cli\/node[-_]modules/, 'node-modules');
|
|
119
|
+
str = str.replace(/.*\/plugins\/uniapp-cli-vite\/node[-_]modules/, 'node-modules');
|
|
120
120
|
if (process.env.UNI_PLATFORM === 'mp-alipay') {
|
|
121
121
|
str = str.replace('node-modules/@', 'node-modules/npm-scope-');
|
|
122
122
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dcloudio/uni-cli-shared",
|
|
3
|
-
"version": "3.0.0-alpha-
|
|
3
|
+
"version": "3.0.0-alpha-3021320211117005",
|
|
4
4
|
"description": "@dcloudio/uni-cli-shared",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@babel/parser": "^7.15.0",
|
|
22
22
|
"@babel/types": "^7.15.0",
|
|
23
|
-
"@dcloudio/uni-i18n": "3.0.0-alpha-
|
|
24
|
-
"@dcloudio/uni-shared": "3.0.0-alpha-
|
|
23
|
+
"@dcloudio/uni-i18n": "3.0.0-alpha-3021320211117005",
|
|
24
|
+
"@dcloudio/uni-shared": "3.0.0-alpha-3021320211117005",
|
|
25
25
|
"@rollup/pluginutils": "^4.1.1",
|
|
26
26
|
"@vue/compiler-core": "3.2.22",
|
|
27
27
|
"@vue/compiler-dom": "3.2.22",
|