@mpxjs/webpack-plugin 2.6.114-alpha.3 → 2.6.114-alpha.4

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.
@@ -29,7 +29,7 @@ module.exports = function (css, map) {
29
29
 
30
30
  const transRpxRules = transRpxRulesRaw ? (Array.isArray(transRpxRulesRaw) ? transRpxRulesRaw : [transRpxRulesRaw]) : []
31
31
 
32
- const transRpxFn = mpx.webConfig.transRpxFn
32
+ const transRpxFn = mpx.webConfig && mpx.webConfig.transRpxFn
33
33
  const testResolveRange = (include = () => true, exclude) => {
34
34
  return matchCondition(this.resourcePath, { include, exclude })
35
35
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.6.114-alpha.3",
3
+ "version": "2.6.114-alpha.4",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"
@@ -85,5 +85,5 @@
85
85
  "@types/babel-types": "^7.0.4",
86
86
  "webpack": "^4.46.0"
87
87
  },
88
- "gitHead": "951dd877934ec6233bfb67452b790dc982317ccd"
88
+ "gitHead": "9e21edc9a7478dc477064bd14679f794d892592b"
89
89
  }