-
Notifications
You must be signed in to change notification settings - Fork 76
Loggers are removed in development mode too #559
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Version
nuxt-security: ^2.1.1
nuxt: ^3.14.159
Reproduction Link
Blank project with removeLoggers set to true:
security: {
removeLoggers: true,
}Steps to reproduce
Set the removeLoggers entry to true and tun the dev server with run dev. I checked that the NODE_ENV variable is indeed set to development, yet logs are being removed.
What is Expected?
Expected behaviour is that loggers are not removed when the project is in development mode.
What is actually happening?
Loggers are being removed when running development server with run dev.
Even with NODE_ENV set to development.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working