weboptimizer 2.0.1382 → 2.0.1383
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/helper.js +2 -1
- package/package.json +1 -1
package/helper.js
CHANGED
|
@@ -628,7 +628,6 @@ var Helper = exports.Helper = /*#__PURE__*/function () {
|
|
|
628
628
|
var moduleFilePathsToExclude = Helper.determineModuleLocations(givenInjection.autoExclude, aliases, moduleReplacements, {
|
|
629
629
|
file: extensions.file.internal
|
|
630
630
|
}, context, referencePath, pathsToIgnore).filePaths;
|
|
631
|
-
console.log('A', moduleFilePathsToExclude);
|
|
632
631
|
var _iterator10 = _createForOfIteratorHelper(['entry', 'external']),
|
|
633
632
|
_step10;
|
|
634
633
|
try {
|
|
@@ -692,6 +691,8 @@ var Helper = exports.Helper = /*#__PURE__*/function () {
|
|
|
692
691
|
for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
|
|
693
692
|
var moduleFilePath = _step12.value;
|
|
694
693
|
if (!moduleFilePathsToExclude.includes(moduleFilePath)) {
|
|
694
|
+
console.log('A', moduleFilePath);
|
|
695
|
+
console.log('B', moduleFilePathsToExclude);
|
|
695
696
|
var relativeModuleFilePath = "./".concat((0, _path.relative)(context, moduleFilePath));
|
|
696
697
|
var directoryPath = (0, _path.dirname)(relativeModuleFilePath);
|
|
697
698
|
var baseName = (0, _path.basename)(relativeModuleFilePath, ".".concat(buildConfiguration.extension));
|