Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support html-webpack-plugin scriptLoading: "module" #11

Merged
merged 1 commit into from
Jan 1, 2023

Conversation

bj00rn
Copy link
Contributor

@bj00rn bj00rn commented Dec 21, 2022

Remove type attribute if set to module. (html-webpack-plugin sets type='module' for all scripts if scriptLoading is set to 'module')

nomodule is ignored by browser if both nomodule and type="module" are set.

image

fixes #10

Remove type attribute if set to module since setting both nomodule and type="module" doesn't make sense.
@swimmadude66 swimmadude66 merged commit 2689ff1 into swimmadude66:dev Jan 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Incompatible with html-webpack-plugin@5.5.0 when scriptLoading: 'module' is in use
2 participants