Question
I'm updating a Content Security Policy for a client site and need to add a hash or nonce to the nomodule fix script.
I've tried the SCRIPT_TAG_ATTRS documented, but they only seem to affect script tags with a src.
Any help much appreciated !
Vite plugin version : 5.0.1
Craft : 5.7.1.1
Question
I'm updating a Content Security Policy for a client site and need to add a hash or nonce to the nomodule fix script.
I've tried the SCRIPT_TAG_ATTRS documented, but they only seem to affect script tags with a src.
Any help much appreciated !
Vite plugin version : 5.0.1
Craft : 5.7.1.1