build: fix dev script

This commit is contained in:
Evan You 2019-10-02 11:39:00 -04:00
parent 776bc73a5a
commit c0bf341748

View File

@ -20,7 +20,7 @@ const execa = require('execa')
const { targets, fuzzyMatchTarget } = require('./utils') const { targets, fuzzyMatchTarget } = require('./utils')
const args = require('minimist')(process.argv.slice(2)) const args = require('minimist')(process.argv.slice(2))
const target = fuzzyMatchTarget(args._[0] || 'vue') const target = args._.length ? fuzzyMatchTarget(args._)[0] : 'vue'
const formats = args.formats || args.f const formats = args.formats || args.f
execa( execa(