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
Subresource Integrity (SRI) is a security feature that enables browsers to verify that files they fetch (for example, from a CDN) are delivered without unexpected manipulation. It works by allowing you to provide a cryptographic hash that a fetched file must match.
Closing because while it sounds "nice" it doesn't seem like a must-have. If you contribute this to work with HtmlWebpackPlugin's inject mode we'd be happy to enable it.
Activity
[-]Subresource Integrity in productionbuild[/-][+]Subresource Integrity in production builds[/+]gaearon commentedon Oct 23, 2016
Looks cool. We could do this if somebody contributes it to HtmlWebpackPlugin.
julien-f commentedon Oct 23, 2016
webpack-subresource-integrity :)
gaearon commentedon Oct 23, 2016
We'd use this if it was generated in
inject: truemode.gaearon commentedon Nov 20, 2016
Closing because while it sounds "nice" it doesn't seem like a must-have. If you contribute this to work with HtmlWebpackPlugin's inject mode we'd be happy to enable it.
XVincentX commentedon Dec 6, 2016
According to jantimon/html-webpack-plugin#491 - it's already built in.
gaearon commentedon Dec 6, 2016
Happy to take a PR implementing this!
XVincentX commentedon Dec 6, 2016
@gaearon Cool, it should not be that hard. Let's see if I can come up with something.
XVincentX commentedon Dec 6, 2016
@gaearon I kicked off #1176
gaearon commentedon Dec 6, 2016
Fixed via #1176.