Define uiDisabled at build time.

This commit is contained in:
Mike Cao committed 2022-10-27 17:02:54 -07:00
1 parent fc9584eb44
commit 98835bbc78
3 files changed
+2 -5

No files matched your search

+1
View File
@@ -36,6 +36,7 @@ module.exports = {
env: {
currentVersion: pkg.version,
isProduction: process.env.NODE_ENV === 'production',
uiDisabled: !!process.env.DISABLE_UI,
},
basePath: process.env.BASE_PATH,
output: 'standalone',