From: Chris Duncan Date: Sun, 15 Jun 2025 22:11:55 +0000 (-0700) Subject: Strip logs always, unless in dev env. X-Git-Tag: v5.0.0~20 X-Git-Url: https://git.codecow.com/?a=commitdiff_plain;h=d010bf2d75716dc842dfbb016c3b4b34133a5a1a;p=nano-pow.git Strip logs always, unless in dev env. --- diff --git a/esbuild.mjs b/esbuild.mjs index 6959b14..d900132 100644 --- a/esbuild.mjs +++ b/esbuild.mjs @@ -19,7 +19,7 @@ await build({ legalComments: 'inline', outdir: 'dist', target: 'esnext', - dropLabels: process.env.NODE_ENV !== 'production' ? [] : ['LOG'], + dropLabels: process.env.NODE_ENV === 'development' ? [] : ['LOG'], plugins: [ glsl({ minify: true,