Skip to content

Commit acdff3b

Browse files
committed
update build script to support non local build flavors
1 parent 19c838e commit acdff3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/scripts/build.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import crypto from 'crypto'
55
import fixup from '../fixup'
66
const flavor = process.env.FLAVOR?.split('/').pop()
77
? 'git-' + process.env.FLAVOR?.split('/').pop()
8-
: `local`
8+
: process.argv[2] || `local`
99
;(async () => {
1010
const bundle = await rollup.rollup(options)
1111
function makeBanner(lines) {

0 commit comments

Comments
 (0)