Define uiDisabled at build time.

This commit is contained in:
Mike Cao 2022-10-27 17:02:54 -07:00
parent fc9584eb44
commit 98835bbc78
3 changed files with 2 additions and 5 deletions

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',