From 35016123a21cfbe8d09593969aeaa5e4b8ed3682 Mon Sep 17 00:00:00 2001 From: baoqiang Date: Tue, 16 Jan 2024 11:51:08 +0800 Subject: [PATCH] chore: dev build for multi-packages --- scripts/dev.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dev.js b/scripts/dev.js index efe9e758996..7db79442ee9 100644 --- a/scripts/dev.js +++ b/scripts/dev.js @@ -14,7 +14,7 @@ import { polyfillNode } from 'esbuild-plugin-polyfill-node' const require = createRequire(import.meta.url) const __dirname = dirname(fileURLToPath(import.meta.url)) const args = minimist(process.argv.slice(2)) -const targets = args._ || ['vue'] +const targets = args._.length ? args._ : ['vue'] const format = args.f || 'global' const prod = args.p || false const inlineDeps = args.i || args.inline