@umijs/mfsu 4.0.53 → 4.0.54
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.
|
@@ -40,7 +40,14 @@ var import_isExternals = require("./isExternals");
|
|
|
40
40
|
var RE_NODE_MODULES = /node_modules/;
|
|
41
41
|
function isUmiLocalDev(path) {
|
|
42
42
|
const rootPath = (0, import_utils.isLocalDev)();
|
|
43
|
-
|
|
43
|
+
if (rootPath) {
|
|
44
|
+
const winP = (0, import_utils.winPath)(path);
|
|
45
|
+
const pkgP = (0, import_utils.winPath)((0, import_path.join)(rootPath, "./packages"));
|
|
46
|
+
const libP = (0, import_utils.winPath)((0, import_path.join)(rootPath, "./libs"));
|
|
47
|
+
return winP.startsWith(pkgP) || winP.startsWith(libP);
|
|
48
|
+
} else {
|
|
49
|
+
return false;
|
|
50
|
+
}
|
|
44
51
|
}
|
|
45
52
|
function genUnMatchLibsRegex(libs) {
|
|
46
53
|
if (!libs) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/mfsu",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.54",
|
|
4
4
|
"description": "@umijs/mfsu",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/mfsu#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
"test": "umi-scripts jest-turbo"
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
|
-
"@umijs/bundler-esbuild": "4.0.
|
|
27
|
-
"@umijs/bundler-utils": "4.0.
|
|
28
|
-
"@umijs/utils": "4.0.
|
|
26
|
+
"@umijs/bundler-esbuild": "4.0.54",
|
|
27
|
+
"@umijs/bundler-utils": "4.0.54",
|
|
28
|
+
"@umijs/utils": "4.0.54",
|
|
29
29
|
"enhanced-resolve": "5.9.3",
|
|
30
30
|
"is-equal": "^1.6.4"
|
|
31
31
|
},
|