fix: pass through build options
This commit is contained in:
parent
89ccd8148b
commit
3811fd4eb9
|
@ -32,7 +32,8 @@ const build = async (args = []) => {
|
|||
'--mode',
|
||||
production ? 'production' : 'development',
|
||||
]
|
||||
.concat(args),
|
||||
.concat(args)
|
||||
.concat(process.argv.slice(2)),
|
||||
{
|
||||
env: {
|
||||
NODE_PATH: './node_modules',
|
||||
|
@ -52,6 +53,7 @@ const build = async (args = []) => {
|
|||
|
||||
program
|
||||
.command('build', {isDefault: true})
|
||||
.allowUnknownOption()
|
||||
.description('build package')
|
||||
.action(() => build());
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user