From 363723fc84f7b8477592e0105aeb331ec9a017af Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 14 Aug 2017 05:01:11 +0200 Subject: node_modules --- node_modules/webpack/bin/config-yargs.js | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'node_modules/webpack/bin/config-yargs.js') diff --git a/node_modules/webpack/bin/config-yargs.js b/node_modules/webpack/bin/config-yargs.js index a3f7e0c3e..e7c166671 100644 --- a/node_modules/webpack/bin/config-yargs.js +++ b/node_modules/webpack/bin/config-yargs.js @@ -9,7 +9,7 @@ var OPTIMIZE_GROUP = "Optimizing options:"; module.exports = function(yargs) { yargs .help("help") - .alias("help", "h", "?") + .alias("help", "h") .version() .alias("version", "v") .options({ @@ -20,6 +20,12 @@ module.exports = function(yargs) { defaultDescription: "webpack.config.js or webpackfile.js", requiresArg: true }, + "config-name": { + type: "string", + describe: "Name of the config to use", + group: CONFIG_GROUP, + requiresArg: true + }, "env": { describe: "Environment passed to the config, when it is a function", group: CONFIG_GROUP @@ -194,7 +200,7 @@ module.exports = function(yargs) { }, "resolve-extensions": { "type": "array", - describe: "Setup extensions that should be used to resolve modules (Example: --resolve-extensions .es6 .js)", + describe: "Setup extensions that should be used to resolve modules (Example: --resolve-extensions .es6,.js)", group: RESOLVE_GROUP, requiresArg: true }, @@ -245,12 +251,14 @@ module.exports = function(yargs) { "bail": { type: "boolean", describe: "Abort the compilation on first error", - group: ADVANCED_GROUP + group: ADVANCED_GROUP, + default: null }, "profile": { type: "boolean", describe: "Profile the compilation and include information in stats", - group: ADVANCED_GROUP + group: ADVANCED_GROUP, + default: null }, "d": { type: "boolean", -- cgit v1.2.3