You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently using webpack5, html-webpack-plugin, I want to achieve incremental compilation through dynamic entry, but when I trigger the update through devmiddleware.invalidate(), I only get the compiled js and css files but not the expected html files. The following is the general configuration and usage.
Then I looked at the source code of html-webpack-plugin and found that entryOptions is handled on the hook of compiler.initialize. Does this mean that dynamic entry is not supported? If it is really not supported, is there any good way for the implementation of dynamic entry incremental compilation?
Looking forward to your answer, thanks!
The text was updated successfully, but these errors were encountered:
I want to close this in favor of #1768, because html-webpack-plugin uses hook to init options, it doesn't work dynamically right now (more context - webpack/webpack#16312 (comment)), I want to fix it soon
Currently using webpack5, html-webpack-plugin, I want to achieve incremental compilation through dynamic entry, but when I trigger the update through devmiddleware.invalidate(), I only get the compiled js and css files but not the expected html files. The following is the general configuration and usage.
Then I looked at the source code of html-webpack-plugin and found that entryOptions is handled on the hook of compiler.initialize. Does this mean that dynamic entry is not supported? If it is really not supported, is there any good way for the implementation of dynamic entry incremental compilation?
Looking forward to your answer, thanks!
The text was updated successfully, but these errors were encountered: