Moved to using variable instead of env
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user