From b3d7e08de806deaedd31c09e359b4a04b63ae36f Mon Sep 17 00:00:00 2001 From: Haoliang Gao Date: Sat, 31 Aug 2019 11:12:22 +0800 Subject: [PATCH] =?UTF-8?q?improve:=20target=20=E5=BF=85=E9=A1=BB=E6=8C=87?= =?UTF-8?q?=E5=AE=9A,=E7=8E=B0=E5=9C=A8=E8=BF=98=E4=B8=8D=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E5=A4=9A=E5=8F=91=20(#187)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: target 必须指定,现在还不支持多发 --- packages/remax-cli/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/remax-cli/src/index.ts b/packages/remax-cli/src/index.ts index a76577d53..9c7be4857 100644 --- a/packages/remax-cli/src/index.ts +++ b/packages/remax-cli/src/index.ts @@ -22,6 +22,7 @@ export function run(args: any, context?: any) { alias: 't', type: 'string', required: true, + requiresArg: true, }) .showHelpOnFail(false) .parse(args);