Skip to content

Commit 0f24fcb

Browse files
authored
chore: remove group definitions of removed groups (#1830)
1 parent 5bae797 commit 0f24fcb

1 file changed

Lines changed: 0 additions & 8 deletions

File tree

packages/webpack-cli/lib/utils/cli-flags.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
11
const { cli } = require('webpack');
22

33
const HELP_GROUP = 'help';
4-
const CONFIG_GROUP = 'config';
54
const BASIC_GROUP = 'basic';
65
const OUTPUT_GROUP = 'output';
76
const ADVANCED_GROUP = 'advanced';
8-
const ZERO_CONFIG_GROUP = 'zero-config';
97

108
const groups = {
119
HELP_GROUP,
12-
CONFIG_GROUP,
1310
BASIC_GROUP,
1411
OUTPUT_GROUP,
1512
ADVANCED_GROUP,
16-
ZERO_CONFIG_GROUP,
1713
};
1814

1915
const commands = [
@@ -88,7 +84,6 @@ const core = [
8884
usage: '--config <path to webpack configuration file>',
8985
alias: 'c',
9086
type: String,
91-
group: CONFIG_GROUP,
9287
multiple: true,
9388
description: 'Provide path to a webpack configuration file e.g. ./webpack.config.js',
9489
link: 'https://webpack.js.org/configuration/',
@@ -106,7 +101,6 @@ const core = [
106101
usage: '--merge',
107102
alias: 'm',
108103
type: Boolean,
109-
group: CONFIG_GROUP,
110104
description: 'Merge two or more configurations using webpack-merge e.g. -c ./webpack.config.js -c ./webpack.test.config.js --merge',
111105
link: 'https://github.com/survivejs/webpack-merge',
112106
},
@@ -215,7 +209,6 @@ const core = [
215209
usage: '--env',
216210
type: String,
217211
multiple: true,
218-
group: CONFIG_GROUP,
219212
description: 'Environment passed to the configuration when it is a function',
220213
},
221214
{
@@ -230,7 +223,6 @@ const core = [
230223
usage: '--config-name <name of config>',
231224
type: String,
232225
multiple: true,
233-
group: CONFIG_GROUP,
234226
description: 'Name of the configuration to use',
235227
},
236228
/* {

0 commit comments

Comments
 (0)