Skip to content

Commit

Permalink
docs: add --no-stats
Browse files Browse the repository at this point in the history
  • Loading branch information
snitin315 committed Jun 27, 2020
1 parent 525f556 commit bc95950
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/webpack-cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ Options
-v, --version Get current version
--node-args string[] NodeJS flags
--stats string It instructs webpack on how to treat the stats
--no-stats Disables stats output
--verbose It tells webpack to output all the information
```

Expand Down
4 changes: 2 additions & 2 deletions test/no-stats/with-config/no-stats-with-config.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { run } = require('../../utils/test-utils');
const { version } = require('webpack');

describe('stats flag', () => {
it(`should use stats detailed as defined in webpack config`, () => {
it(`should use stats 'detailed' as defined in webpack config`, () => {
const { stderr, stdout } = run(__dirname, []);

expect(stderr).toBeFalsy();
Expand All @@ -16,7 +16,7 @@ describe('stats flag', () => {
}
});

it(`should use --no-stats and override value config`, () => {
it(`should use --no-stats and override value in config`, () => {
const { stderr, stdout } = run(__dirname, ['--no-stats']);

expect(stderr).toBeFalsy();
Expand Down

0 comments on commit bc95950

Please sign in to comment.