Replies: 3 comments 16 replies
-
Do you just need inject custom code or modify webpack runtime? |
Beta Was this translation helpful? Give feedback.
15 replies
-
您好,我已收到您的邮件,我会尽快给您回复。
|
Beta Was this translation helpful? Give feedback.
1 reply
-
您好,我已收到您的邮件,我会尽快给您回复。
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As the webpack5 docs, some mainTemplate hooks has been removed. But in my project with webpack4, we use the mainTemplate.hooks.bootstrap and mainTemplate.hooks.requireEnsure to inject some js to the final file. But now the mainTemplate feature is not exist, and the webpack5 docs now show how to change it. And from the webpack5 source code, I cant find any new hooks.
my plugin code
Beta Was this translation helpful? Give feedback.
All reactions