Closed Gerbuuun closed 2 months ago
This seems likely a bug in Nuxt security module but I don’t see a harm in this hotfix.
Would be better if this could be achieved in the minification build step itself.
I'll raise the issue with nuxt-security
They already had a fix ready (https://github.com/Baroshem/nuxt-security/pull/478). You can dismiss this PR if you think it is not necessary
This PR is good (though the underlying bug in the regexp in nuxt-security does need to be fixed as well.)
A new version of nuxt-security
has been released with the previously linked PR. It works now!
Possibly resolves #266 #267 #228
see my comments in #266