I’ve just started updating a theme and site to work with the 0.43+ SCSS processing.
However, I’m running into some problems with the SHA integrity checks for the processed CSS files.
This is an example error from Firefox’s web console:
"https://keen-saha-3f6b43.netlify.com/css/style.min.1c06b23a349b966b6f6956365806033e458bb8516b04e452121ad444900914a4.css" is not eligible for integrity checks since it's neither CORS-enabled nor same-origin.
The code that is processing the SCSS is
{{- $cssOpts := (dict "targetPath" "css/style.css") -}}
{{- $style := resources.Get "scss/main.scss" | toCSS $cssOpts | minify | fingerprint -}}
<link rel="stylesheet" href="{{ $style.Permalink }}" integrity="{{ $style.Data.Integrity }}" media="screen">
It works properly when testing locally, and when using Safari (I understand it doesn’t care about integrity checking), but fails with Firefox.
Any ideas on how to get things working?