Skip to content

Commit

Permalink
fix default value for webpack config (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
zinserjan committed Oct 27, 2017
1 parent e7d0f06 commit 1083e32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/cli/parseArgv.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const options = {
describe: 'path to webpack-config file',
group: BASIC_GROUP,
requiresArg: true,
default: 'webpack-config.js',
default: 'webpack.config.js',
},
'webpack-env': {
describe: 'environment passed to the webpack-config, when it is a function',
Expand Down
2 changes: 1 addition & 1 deletion test/unit/cli/parseArgv.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -805,7 +805,7 @@ describe('parseArgv', function () {
const parsedArgv = this.parseArgv(argv);

// then
assert.propertyVal(parsedArgv, 'webpackConfig', 'webpack-config.js');
assert.propertyVal(parsedArgv, 'webpackConfig', 'webpack.config.js');
});


Expand Down

0 comments on commit 1083e32

Please sign in to comment.