Skip to content

Commit 99ae4d9

Browse files
committed
fix
1 parent 504b374 commit 99ae4d9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

desktop-ui/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ dotenv.config()
1515

1616
const 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'
1919
const VITE_REMOTE_DEV = process.env.VITE_REMOTE_DEV === 'true'
2020
const DISABLE_VUE_PLUGINS = process.env.DISABLE_VUE_PLUGINS === 'true'
2121

vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import { comfyAPIPlugin } from './build/plugins'
2323
dotenvConfig()
2424

2525
const 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'
2727
const ANALYZE_BUNDLE = process.env.ANALYZE_BUNDLE === 'true'
2828
// vite dev server will listen on all addresses, including LAN and public addresses
2929
const VITE_REMOTE_DEV = process.env.VITE_REMOTE_DEV === 'true'

0 commit comments

Comments
 (0)