@mpxjs/webpack-plugin 2.10.14-beta.14-1 → 2.10.14-beta.14-2
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/index.js +1 -5
- package/package.json +1 -1
package/lib/index.js
CHANGED
|
@@ -1456,11 +1456,7 @@ class MpxWebpackPlugin {
|
|
|
1456
1456
|
const transRoot = transSubpackage(mpx.transSubpackageRules, tarRoot)
|
|
1457
1457
|
if (transRoot !== tarRoot) {
|
|
1458
1458
|
if (transRoot === '') {
|
|
1459
|
-
|
|
1460
|
-
_compilation: compilation,
|
|
1461
|
-
resource: parser.state.module.resource
|
|
1462
|
-
})
|
|
1463
|
-
if (entryName) depName = entryName
|
|
1459
|
+
depName = 'app'
|
|
1464
1460
|
} else {
|
|
1465
1461
|
depName = transRoot + '/index'
|
|
1466
1462
|
}
|