Moved to using variable instead of env

This commit is contained in:
2025-08-11 11:03:34 +02:00
parent 9532742018
commit a9976c60dc
3 changed files with 9 additions and 4 deletions

View File

@@ -22,8 +22,8 @@ const files = [
].flat()
const banner = [
"process.env.BUILD = 'true'",
process.env.DOCKER === "1" ? "process.env.DOCKER = '1'" : null
"const bun__build = true",
process.env.DOCKER === "1" ? "const bun__docker = true" : null
].filter(v => typeof v === "string").join("\n")
await Bun.build({