failed the script when bundle:default fails and cleanup "alpha" (#8580)

This commit is contained in:
Lifei Zhou
2026-04-16 15:51:23 +10:00
committed by GitHub
parent a5a497b341
commit 625f2d75fe
5 changed files with 9 additions and 37 deletions
-2
View File
@@ -4,8 +4,6 @@ import tailwindcss from '@tailwindcss/vite';
// https://vitejs.dev/config
export default defineConfig({
define: {
// This replaces process.env.ALPHA with a literal at build time
'process.env.ALPHA': JSON.stringify(process.env.ALPHA === 'true'),
'process.env.GOOSE_TUNNEL': JSON.stringify(process.env.GOOSE_TUNNEL !== 'no' && process.env.GOOSE_TUNNEL !== 'none'),
},