File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ dotenv.config()
1515
1616const projectRoot = fileURLToPath ( new URL ( '.' , import . meta. url ) )
1717
18- const SHOULD_MINIFY = process . env . ENABLE_MINIFY === 'true '
18+ const SHOULD_MINIFY = process . env . ENABLE_MINIFY !== 'false '
1919const VITE_REMOTE_DEV = process . env . VITE_REMOTE_DEV === 'true'
2020const DISABLE_VUE_PLUGINS = process . env . DISABLE_VUE_PLUGINS === 'true'
2121
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import { comfyAPIPlugin } from './build/plugins'
2323dotenvConfig ( )
2424
2525const IS_DEV = process . env . NODE_ENV === 'development'
26- const SHOULD_MINIFY = process . env . ENABLE_MINIFY === 'true '
26+ const SHOULD_MINIFY = process . env . ENABLE_MINIFY !== 'false '
2727const ANALYZE_BUNDLE = process . env . ANALYZE_BUNDLE === 'true'
2828// vite dev server will listen on all addresses, including LAN and public addresses
2929const VITE_REMOTE_DEV = process . env . VITE_REMOTE_DEV === 'true'
You can’t perform that action at this time.
0 commit comments