Skip to content

Commit

Permalink
fix(index): change the default devtool
Browse files Browse the repository at this point in the history
  • Loading branch information
niieani authored Jun 27, 2016
1 parent ecf3a57 commit 98cdf72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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-inline-source-map'} = {}) {
return function development(this: WebpackConfig): WebpackConfig {
return {
debug: true,
Expand Down Expand Up @@ -76,4 +76,4 @@ export = function development({devtool = 'cheap-module-eval-source-map'} = {}) {
].concat(get(this, 'plugins', []))
}
}
}
}

0 comments on commit 98cdf72

Please sign in to comment.