@mpxjs/webpack-plugin 2.8.25-alpha.1 → 2.8.25-alpha.3

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/loader.js +3 -1
  2. package/package.json +3 -3
package/lib/loader.js CHANGED
@@ -70,7 +70,9 @@ module.exports = function (content) {
70
70
 
71
71
  if (ctorType === 'app') {
72
72
  const appName = getEntryName(this)
73
- this._module.addPresentationalDependency(new AppEntryDependency(resourcePath, appName))
73
+ if (appName) {
74
+ this._module.addPresentationalDependency(new AppEntryDependency(resourcePath, appName))
75
+ }
74
76
  }
75
77
  const loaderContext = this
76
78
  const stringifyRequest = r => loaderUtils.stringifyRequest(loaderContext, r)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.8.25-alpha.1",
3
+ "version": "2.8.25-alpha.3",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"
@@ -28,7 +28,7 @@
28
28
  "@better-scroll/wheel": "^2.2.1",
29
29
  "@better-scroll/zoom": "^2.2.1",
30
30
  "@hummer/tenon-dev-server-webpack-plugin": "0.0.2",
31
- "@hummer/tenon-loader": "^1.1.0",
31
+ "@hummer/tenon-loader": "^1.2.0",
32
32
  "@hummer/tenon-style-loader": "^0.2.0",
33
33
  "acorn-walk": "^7.2.0",
34
34
  "async": "^2.6.0",
@@ -85,5 +85,5 @@
85
85
  "engines": {
86
86
  "node": ">=14.14.0"
87
87
  },
88
- "gitHead": "0d932ec0de2bf893ac37811b9280c1c693e644ef"
88
+ "gitHead": "a4acf4b86fc634513b77614453d28027f2b37762"
89
89
  }