From 4837dc92b944f8b4cdd7d6e3420367cf338e7f75 Mon Sep 17 00:00:00 2001 From: Alexander Akait <4567934+alexander-akait@users.noreply.github.com> Date: Mon, 28 Dec 2020 20:50:11 +0300 Subject: [PATCH] fix: the `open` option works using `webpack serve` without value (#2948) --- bin/cli-flags.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/cli-flags.js b/bin/cli-flags.js index 973cee7ae0..b48b95fbb3 100644 --- a/bin/cli-flags.js +++ b/bin/cli-flags.js @@ -62,7 +62,7 @@ module.exports = { }, { name: 'open', - type: String, + type: [String, Boolean], describe: 'Open the default browser, or optionally specify a browser name', },