nuxt-security breaking build #343
kwesterfeld2
started this conversation in
General
Replies: 2 comments 10 replies
-
Is the issue always triggered by the presence of |
Beta Was this translation helpful? Give feedback.
8 replies
-
The issue with nuxt kit is resolved in 1.0.1 version. For the bug in the remove loggers we should wait for the unplugin remove author to fix it there and we will bump the package in the next major version |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I found this project and was super excited to add it to my efforts in porting a pure vite/vue project to nuxt.
I'm very puzzled by what is happening, however. When I add
nuxt-security
to my nuxt config, my compilation starts breaking in horrible ways. I tried figuring out where the issues were, but it breaks in strange ways that I do not understand. Its possible that the plugin ordering for nuxt is at work here.Example breakage:
Which is pointing at code that is completely valid JS syntax:
I tried whack-a-mole changing everything that started erroring out, but it really led to too many changes. The changes were all really weird, like pointing at functions marked as
async
but not really needing it, but also valid JS.Sooo....is it possible to use nuxt-security for just a few features, like CSP generation?
Beta Was this translation helpful? Give feedback.
All reactions