Skip to content

Commit

Permalink
chore: remove group definitions of removed groups (#1830)
Browse files Browse the repository at this point in the history
  • Loading branch information
anshumanv committed Sep 25, 2020
1 parent 5bae797 commit 0f24fcb
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions packages/webpack-cli/lib/utils/cli-flags.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,15 @@
const { cli } = require('webpack');

const HELP_GROUP = 'help';
const CONFIG_GROUP = 'config';
const BASIC_GROUP = 'basic';
const OUTPUT_GROUP = 'output';
const ADVANCED_GROUP = 'advanced';
const ZERO_CONFIG_GROUP = 'zero-config';

const groups = {
HELP_GROUP,
CONFIG_GROUP,
BASIC_GROUP,
OUTPUT_GROUP,
ADVANCED_GROUP,
ZERO_CONFIG_GROUP,
};

const commands = [
Expand Down Expand Up @@ -88,7 +84,6 @@ const core = [
usage: '--config <path to webpack configuration file>',
alias: 'c',
type: String,
group: CONFIG_GROUP,
multiple: true,
description: 'Provide path to a webpack configuration file e.g. ./webpack.config.js',
link: 'https://webpack.js.org/configuration/',
Expand All @@ -106,7 +101,6 @@ const core = [
usage: '--merge',
alias: 'm',
type: Boolean,
group: CONFIG_GROUP,
description: 'Merge two or more configurations using webpack-merge e.g. -c ./webpack.config.js -c ./webpack.test.config.js --merge',
link: 'https://github.com/survivejs/webpack-merge',
},
Expand Down Expand Up @@ -215,7 +209,6 @@ const core = [
usage: '--env',
type: String,
multiple: true,
group: CONFIG_GROUP,
description: 'Environment passed to the configuration when it is a function',
},
{
Expand All @@ -230,7 +223,6 @@ const core = [
usage: '--config-name <name of config>',
type: String,
multiple: true,
group: CONFIG_GROUP,
description: 'Name of the configuration to use',
},
/* {
Expand Down

0 comments on commit 0f24fcb

Please sign in to comment.