weboptimizer 4.0.11 → 4.0.13

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "4.0.11",
3
+ "version": "4.0.13",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -1236,9 +1236,7 @@
1236
1236
  "nodeENV": null,
1237
1237
  "nodeEnvironment": {
1238
1238
  "#": "Indicates which node environment variables should be included in built artefacts.",
1239
- "global": true,
1240
- "__filename": "mock",
1241
- "__dirname": "mock"
1239
+ "global": true
1242
1240
  },
1243
1241
  "offline": {
1244
1242
  "common": {
@@ -849,7 +849,7 @@ export let webpackConfiguration = extend(true, {
849
849
  if (configuration.nodeENV !== null) if (typeof webpackConfiguration.optimization === 'object') webpackConfiguration.optimization.nodeEnv = configuration.nodeENV;else webpackConfiguration.optimization = {
850
850
  nodeEnv: configuration.nodeENV
851
851
  };
852
- if (!Array.isArray(module.skipParseRegularExpressions) || module.skipParseRegularExpressions.length) if (typeof webpackConfiguration.module === 'object') webpackConfiguration.module.noParse = module.skipParseRegularExpressions;else webpackConfiguration.module = {
852
+ if (Array.isArray(module.skipParseRegularExpressions) ? module.skipParseRegularExpressions.length : module.skipParseRegularExpressions) if (typeof webpackConfiguration.module === 'object') webpackConfiguration.module.noParse = module.skipParseRegularExpressions;else webpackConfiguration.module = {
853
853
  noParse: module.skipParseRegularExpressions
854
854
  };
855
855
  if (configuration.path.configuration.javaScript) try {