-
Notifications
You must be signed in to change notification settings - Fork 47
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
Interoperability with resource hints #179
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compilation breaks when
webpack-subresource-integrity
is used together withhtml-webpack-preconnect-plugin
that injects<link rel="preconnect" href="..." />
tag. SRI plugin tries to download the given file (which in this case is not a file but origin domain for preconnecting) and fails with a very obscure error:I see the mentions of
<link rel="preload">
in the documentation, but not other types.I realize that other resource hints, described in this document, currently marked as a working draft. But they also work in some browsers: https://caniuse.com/?search=preconnect
Webpack 5.71.0
html-webpack-plugin 5.5.0
webpack-subresource-integrity 5.1.0
html-webpack-preconnect-plugin 1.2.1
This was not a problem with
webpack-subresource-integrity
v1.The text was updated successfully, but these errors were encountered: