Skip to content

Commit

Permalink
fix(index): do not fail when no parameter passed in
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani committed Jun 24, 2016
1 parent 9001df9 commit ecf3a57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const DefinePlugin = require('webpack/lib/DefinePlugin')
/**
* @param exclude add paths to packages that have problems with their sourcemaps
*/
export = function development({devtool = 'cheap-module-eval-source-map'}) {
export = function development({devtool = 'cheap-module-eval-source-map'} = {}) {
return function development(this: WebpackConfig): WebpackConfig {
return {
debug: true,
Expand Down

0 comments on commit ecf3a57

Please sign in to comment.