Skip to content

Commit 48e2b9a

Browse files
committed
Add comment
1 parent 331dde1 commit 48e2b9a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

webpack/module-minifier-plugin/src/ModuleMinifierPlugin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -493,6 +493,7 @@ export class ModuleMinifierPlugin implements webpack.Plugin {
493493
}
494494
);
495495

496+
// This function is written twice because the parameter order is not the same between the two hooks
496497
(compilation.chunkTemplate as unknown as IExtendedChunkTemplate).hooks.modules.tap(
497498
TAP_AFTER,
498499
(source: Source, chunk: webpack.compilation.Chunk, moduleTemplate: unknown) => {

0 commit comments

Comments
 (0)