wallaby-webpack
Advanced tools
Comparing version 3.9.6 to 3.9.7
14
index.js
@@ -34,7 +34,11 @@ 'use strict'; | ||
this._loaderEmitRequired = false; | ||
this._opts = opts || {}; | ||
this._webpack = this._opts.webpack; | ||
this._entryPatterns = this._opts.entryPatterns; | ||
this._emitModulePaths = this._opts.emitModulePaths; | ||
this._preserveEntryFileLoadOrder = this._opts.preserveEntryFileLoadOrder; | ||
delete this._opts.webpack; | ||
delete this._opts.entryPatterns; | ||
@@ -69,6 +73,8 @@ delete this._opts.preserveEntryFileLoadOrder; | ||
this._webpack = WebpackPostprocessor._tryRequireFrom('webpack') | ||
|| WebpackPostprocessor._tryRequireFrom('react-scripts/node_modules/webpack') | ||
|| WebpackPostprocessor._tryRequireFrom('angular-cli/node_modules/webpack') | ||
|| WebpackPostprocessor._tryRequireFrom('@angular-devkit/build-angular/node_modules/webpack'); | ||
if (!this._webpack) { | ||
this._webpack = WebpackPostprocessor._tryRequireFrom('webpack') | ||
|| WebpackPostprocessor._tryRequireFrom('react-scripts/node_modules/webpack') | ||
|| WebpackPostprocessor._tryRequireFrom('angular-cli/node_modules/webpack') | ||
|| WebpackPostprocessor._tryRequireFrom('@angular-devkit/build-angular/node_modules/webpack'); | ||
} | ||
@@ -75,0 +81,0 @@ if (!this._webpack) { |
{ | ||
"name": "wallaby-webpack", | ||
"version": "3.9.6", | ||
"version": "3.9.7", | ||
"description": "Webpack postprocessor for wallaby.js", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23502
476