Skip to content

Commit f28bb4e

Browse files
authored
add webpack 5 comment
1 parent 5d05136 commit f28bb4e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/web/JsonpMainTemplatePlugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ class JsonpMainTemplatePlugin {
2929
return false;
3030
};
3131

32+
// TODO webpack 5, no adding to .hooks, use WeakMap and static methods
3233
["jsonpScript", "linkPreload", "linkPrefetch"].forEach(hook => {
3334
if (!mainTemplate.hooks[hook]) {
3435
mainTemplate.hooks[hook] = new SyncWaterfallHook([

0 commit comments

Comments
 (0)