mirror of
https://github.com/unraid/api.git
synced 2026-01-01 14:10:10 -06:00
refactor: build removeConsole conditionally skip via VITE_ALLOW_CONSOLE_LOGS env
This commit is contained in:
@@ -69,7 +69,7 @@ export default defineNuxtConfig({
|
||||
vite: {
|
||||
plugins: [
|
||||
removeConsole({
|
||||
includes: ["log", "warn", "error", "info", "debug"],
|
||||
includes: process.env.VITE_ALLOW_CONSOLE_LOGS ? [] : ["log", "warn", "error", "info", "debug"],
|
||||
}),
|
||||
],
|
||||
build: {
|
||||
|
||||
Reference in New Issue
Block a user