@mpxjs/webpack-plugin 2.7.39 → 2.7.40

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 -1
  2. package/package.json +2 -2
package/lib/index.js CHANGED
@@ -1026,7 +1026,7 @@ class MpxWebpackPlugin {
1026
1026
  }))
1027
1027
  }
1028
1028
  }
1029
- if (/regenerator-runtime/.test(parser.state.module.resource)) {
1029
+ if (/regenerator/.test(parser.state.module.resource)) {
1030
1030
  if (callee.name === 'Function' && arg0 && arg0.value === 'r' && arg1 && arg1.value === 'regeneratorRuntime = r') {
1031
1031
  current.addPresentationalDependency(new ReplaceDependency('(function () {})', expr.range))
1032
1032
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mpxjs/webpack-plugin",
3
- "version": "2.7.39",
3
+ "version": "2.7.40",
4
4
  "description": "mpx compile core",
5
5
  "keywords": [
6
6
  "mpx"
@@ -80,5 +80,5 @@
80
80
  "engines": {
81
81
  "node": ">=14.14.0"
82
82
  },
83
- "gitHead": "6431ec3444ca7625f07495c0d614ee77e8d654b0"
83
+ "gitHead": "63b19d878f5c0eba2950e112ac683075142f02f4"
84
84
  }