@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.
Files changed (2) hide show
  1. package/lib/index.js +1 -5
  2. 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
- const entryName = getEntryName({
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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.10.14-beta.14-1",
3
+ "version": "2.10.14-beta.14-2",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"