-
Notifications
You must be signed in to change notification settings - Fork 343
Subresource integrity support? #103
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
Comments
Could this be implemented directly with django-webpack-loader, or would you have to integrate it with something like webpack-subresource-integrity? |
django-webpack-loader could implement this directly by computing the hash of a file when it first loads new stats from |
I think it's better the support is added to webpack-bundle-tracker or somehow is integrated with a webpack plugin because on Django's side we'll need ability to read bundles (from network), hash them, cache the results, etc. There are plugin that already do this on webpack's side. Being able to leverage existing webpack ecosystem instead of writing python code for every new feature was the biggest motivation behind this project. If anyone wants to contribute this, let's talk over at https://github.com/owais/webpack-bundle-tracker repo. |
Closed via django-webpack/webpack-bundle-tracker#59 |
Related: #315 |
Is there support for subresource integrity when generating script/link tags? If not, would you be ok with a PR to add support for this?
The text was updated successfully, but these errors were encountered: