Skip to content

Commit 6a9ee8f

Browse files
Mohsen Azimisokra
authored andcommitted
more comment types and one actual code change
1 parent 0ced385 commit 6a9ee8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/optimize/ModuleConcatenationPlugin.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ class ModuleConcatenationPlugin {
148148
nonHarmonyReasons.map(r => r.explanation).filter(Boolean)
149149
);
150150
const importingModuleTypes = new Map(
151-
Array.from(importingModules).map(m => [
151+
Array.from(importingModules).map(m => /** @type {[string, Set]} */([
152152
m,
153153
new Set(
154154
nonHarmonyReasons
155155
.filter(r => r.module === m)
156156
.map(r => r.dependency.type)
157157
.sort()
158158
)
159-
])
159+
]))
160160
);
161161
setBailoutReason(module, requestShortener => {
162162
const names = Array.from(importingModules)

0 commit comments

Comments
 (0)