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