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
The injected color-mode script also receives a hash during SSG
What is actually happening?
The regexp responsible for detecting scripts does not detect the color-mode script because it has a newline character at the end.
See my comments here: nuxt-modules/color-mode#266 (and PR nuxt-modules/color-mode#268)
This behavior will break @nuxt/ui and @nuxt/ui-pro in SSG because it uses @nuxtjs/color-mode.
The text was updated successfully, but these errors were encountered:
Version
nuxt-security: 2.0.0.rc6
nuxt: 3.12.2
Steps to reproduce
@nuxtjs/color-mode
andnuxt-security
modulesWhat is Expected?
The injected
color-mode
script also receives a hash during SSGWhat is actually happening?
The regexp responsible for detecting scripts does not detect the
color-mode
script because it has a newline character at the end.See my comments here: nuxt-modules/color-mode#266 (and PR nuxt-modules/color-mode#268)
This behavior will break
@nuxt/ui
and@nuxt/ui-pro
in SSG because it uses@nuxtjs/color-mode
.The text was updated successfully, but these errors were encountered: