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
I checked all the closed issues on this problem but I could not find a solution and didn't understand if this was fixed in any way.
I try to get SRI for <link> tags that are dynamically added by the min-css-extract-plugin. I tried to add them manually like this:
plugins: [
new MiniCssExtractPlugin({
attributes: {
integrity: 'sha384-....',
'crossorigin': 'anonymous'
},
new SubresourceIntegrityPlugin()
]
But now I'm not sure how to access the files hash at this point (sha384-....). Or maybe there is a smarter way of getting this to work? I'd be really glad if someone could assist, I already put a lot of time into this.
The text was updated successfully, but these errors were encountered:
Hi there,
I checked all the closed issues on this problem but I could not find a solution and didn't understand if this was fixed in any way.
I try to get SRI for
<link>
tags that are dynamically added by the min-css-extract-plugin. I tried to add them manually like this:But now I'm not sure how to access the files hash at this point (sha384-....). Or maybe there is a smarter way of getting this to work? I'd be really glad if someone could assist, I already put a lot of time into this.
The text was updated successfully, but these errors were encountered: