From e7c6bba6435355412a47992a80932628c028c734 Mon Sep 17 00:00:00 2001 From: redsool Date: Fri, 12 Oct 2018 21:13:06 +0300 Subject: [PATCH] fix typo --- lib/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.ts b/lib/index.ts index ba1e677..64a1b80 100644 --- a/lib/index.ts +++ b/lib/index.ts @@ -35,7 +35,7 @@ function buildConfig(variant: string) { const options: WebpackOptions = { root: args[0], projectRoot: args[1], - options: args[-1] + options: args[args.length - 1] }; return interceptor(config, ...args); } catch (e) {