weboptimizer 4.0.12 → 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 +1 -1
- package/webpackConfigurator.js +1 -1
package/package.json
CHANGED
package/webpackConfigurator.js
CHANGED
|
@@ -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 (
|
|
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 {
|