Skip to content

Commit

Permalink
Merge pull request #770 from searls/master
Browse files Browse the repository at this point in the history
Restricts the source maps generated for production
  • Loading branch information
guilleiguaran authored Sep 7, 2017
2 parents c76a64d + 3bd2018 commit daffa50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion package/environments/production.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ module.exports = class extends Environment {

toWebpackConfig() {
const result = super.toWebpackConfig()
result.devtool = 'source-map'
result.devtool = 'nosources-source-map'
result.stats = 'normal'
return result
}
Expand Down

0 comments on commit daffa50

Please sign in to comment.