wallaby-webpack
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -47,2 +47,3 @@ 'use strict'; | ||
this._moduleIds = {}; | ||
this._moduleIdByPath = {}; | ||
this._allTrackedFiles = {}; | ||
@@ -135,3 +136,2 @@ this._entryFiles = {}; | ||
var createFilePromises = []; | ||
var trackedFileIds = {}; | ||
_.each(self._affectedModules, function (m) { | ||
@@ -174,3 +174,3 @@ var trackedFile = m.resource && affectedFiles[m.resource]; | ||
if (trackedFile) { | ||
trackedFileIds[trackedFile.fullPath] = moduleId; | ||
self._moduleIdByPath[trackedFile.fullPath] = moduleId; | ||
} | ||
@@ -199,3 +199,3 @@ }); | ||
content: _.reduce(_.values(self._entryFiles), | ||
(memo, file) => memo + (file.test ? '' : 'window.__moduleBundler.require(' + JSON.stringify(trackedFileIds[file.fullPath]) + ');'), '') | ||
(memo, file) => memo + (file.test ? '' : 'window.__moduleBundler.require(' + JSON.stringify(self._moduleIdByPath[file.fullPath]) + ');'), '') | ||
})); | ||
@@ -202,0 +202,0 @@ } |
{ | ||
"name": "wallaby-webpack", | ||
"version": "0.0.6", | ||
"version": "0.0.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
21677