Skip to content

Commit dcec3ae

Browse files
jamesgeorge007rishabh3112
authored andcommitted
chore: add links to cli flags info (#1178)
1 parent edf65c2 commit dcec3ae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/utils/cli-flags.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,7 @@ module.exports = {
166166
type: Boolean,
167167
group: BASIC_GROUP,
168168
description: 'Allow webpack to set defaults aggresively',
169+
link: 'https://github.com/webpack-contrib/webpack-defaults',
169170
},
170171
{
171172
name: 'output',
@@ -182,6 +183,7 @@ module.exports = {
182183
group: ADVANCED_GROUP,
183184
type: String,
184185
description: 'Load a given plugin',
186+
link: 'https://webpack.js.org/plugins/',
185187
},
186188
{
187189
name: 'global',
@@ -207,6 +209,7 @@ module.exports = {
207209
alias: 'w',
208210
group: BASIC_GROUP,
209211
description: 'Watch for files changes',
212+
link: 'https://webpack.js.org/configuration/watch/',
210213
},
211214
{
212215
name: 'hot',
@@ -215,6 +218,7 @@ module.exports = {
215218
type: Boolean,
216219
group: ADVANCED_GROUP,
217220
description: 'Enables Hot Module Replacement',
221+
link: 'https://webpack.js.org/concepts/hot-module-replacement/',
218222
},
219223
{
220224
name: 'sourcemap',
@@ -232,6 +236,7 @@ module.exports = {
232236
type: String,
233237
group: ADVANCED_GROUP,
234238
description: 'Prefetch this request',
239+
link: 'https://webpack.js.org/plugins/prefetch-plugin/',
235240
},
236241
{
237242
name: 'json',

0 commit comments

Comments
 (0)