-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
[question] Subresource Integrity #1645
Comments
I haven't heard of this feature before but according to this it seems like you just need to hash the output file and put the hash in your HTML? You don't even need anything esbuild-specific to do that since you can just hash the output files on the file system, which will work with any bundler. Maybe I'm misunderstanding something. |
Thanks for the reply! |
Sorry, it's not clear what you need since you don't have any specific questions (e.g. what information you need esbuild to provide). If you need to get a list of all of esbuild's output files (including dynamic imports) you can use the I'm going to close this issue since this isn't a problem with esbuild. |
There is a
webpack
plugin webpack-subresource-integrity that can be used in combination with html-webpack-plugin.Seems out of the scope of
esbuild
s responsibilities, but I'd appreciate any pointers on how to achieve this functionality inesbuild
. Haven't found any existins plugins or hints. Thanks for your time.The text was updated successfully, but these errors were encountered: