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
When scriptLoading: 'module' introduced in html-webpack-plugin 5.5.0, is in use, both type="module" and nomodule attributes are set on the resulting script tags.
This behaviour defeats the purpose of this plugin since both scripts are executed even on browsers that supports module scripts (at least in Chrome).
When scriptLoading: 'module' introduced in html-webpack-plugin 5.5.0, is in use, both type="module" and nomodule attributes are set on the resulting script tags.
This behaviour defeats the purpose of this plugin since both scripts are executed even on browsers that supports module scripts (at least in Chrome).
https://html.spec.whatwg.org/multipage/scripting.html#attr-script-nomodule
package.json
Example webpack config:
Resulting HTML
The text was updated successfully, but these errors were encountered: