From e58d3f69fcb49f712c3699eb5ff3a00aa3c626d8 Mon Sep 17 00:00:00 2001 From: Bou Harusame <1244823650@qq.com> Date: Thu, 18 Jan 2024 10:38:36 +0800 Subject: [PATCH] chore: dev build for multi-packages (#10126) Co-authored-by: baoqiang --- 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