@mpxjs/webpack-plugin 2.8.25-alpha.11 → 2.8.25-alpha.13
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.
|
@@ -76,11 +76,7 @@ ResolveDependency.Template = class ResolveDependencyTemplate {
|
|
|
76
76
|
const { resolved = '' } = dep
|
|
77
77
|
// for tenon
|
|
78
78
|
if (dep.compilation.__mpx__.mode === 'tenon') {
|
|
79
|
-
//
|
|
80
|
-
if (resolved.startswith('hummer://')) {
|
|
81
|
-
return resolved
|
|
82
|
-
}
|
|
83
|
-
// 所有产物在一个目录下的场景 进行相对路径跳转
|
|
79
|
+
// 只支持所有产物在一个目录下的场景 进行相对路径跳转
|
|
84
80
|
return `'./${resolved}.js'`
|
|
85
81
|
}
|
|
86
82
|
// ?resolve 必定返回绝对路径
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mpxjs/webpack-plugin",
|
|
3
|
-
"version": "2.8.25-alpha.
|
|
3
|
+
"version": "2.8.25-alpha.13",
|
|
4
4
|
"description": "mpx compile core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mpx"
|
|
@@ -85,5 +85,5 @@
|
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=14.14.0"
|
|
87
87
|
},
|
|
88
|
-
"gitHead": "
|
|
88
|
+
"gitHead": "4abac47aa595e0bd62d808362c21cc56b3002641"
|
|
89
89
|
}
|