Use generalized prod config var (#3574)

This commit is contained in:
Christian Byrne
2025-04-23 10:26:31 +08:00
committed by GitHub
parent 612500a4dc
commit 3bd508c001
7 changed files with 27 additions and 25 deletions

View File

@@ -16,5 +16,8 @@ export default defineConfig({
alias: {
'@': '/src'
}
},
define: {
__USE_PROD_CONFIG__: process.env.USE_PROD_CONFIG === 'true'
}
})