We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ced385 commit 6a9ee8fCopy full SHA for 6a9ee8f
lib/optimize/ModuleConcatenationPlugin.js
@@ -148,15 +148,15 @@ class ModuleConcatenationPlugin {
148
nonHarmonyReasons.map(r => r.explanation).filter(Boolean)
149
);
150
const importingModuleTypes = new Map(
151
- Array.from(importingModules).map(m => [
+ Array.from(importingModules).map(m => /** @type {[string, Set]} */([
152
m,
153
new Set(
154
nonHarmonyReasons
155
.filter(r => r.module === m)
156
.map(r => r.dependency.type)
157
.sort()
158
)
159
- ])
+ ]))
160
161
setBailoutReason(module, requestShortener => {
162
const names = Array.from(importingModules)
0 commit comments