Skip to content

Commit

Permalink
chore: add links to cli-flags for help output (#2039)
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Nov 6, 2020
1 parent 46cba36 commit 1e0b0b4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/webpack-cli/lib/utils/cli-flags.js
Expand Up @@ -203,13 +203,15 @@ const core = [
type: String,
multipleType: true,
description: 'Environment passed to the configuration when it is a function',
link: 'https://webpack.js.org/api/cli/#environment-options',
},
{
name: 'name',
usage: '--name',
type: String,
group: BASIC_GROUP,
description: 'Name of the configuration. Used when loading multiple configurations.',
link: 'https://webpack.js.org/configuration/other-options/#name',
},
{
name: 'config-name',
Expand All @@ -224,6 +226,7 @@ const core = [
type: Boolean,
multiple: false,
description: 'It invokes webpack-bundle-analyzer plugin to get bundle information',
link: 'https://github.com/webpack-contrib/webpack-bundle-analyzer',
},
/* {
name: "interactive",
Expand Down

0 comments on commit 1e0b0b4

Please sign in to comment.