Skip to content

Commit

Permalink
fix(build): respect productionSourceMap option for all targets
Browse files Browse the repository at this point in the history
close #1898
  • Loading branch information
yyx990803 committed Jul 20, 2018
1 parent 7e6c37c commit dcf9931
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/@vue/cli-service/lib/config/prod.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ module.exports = (api, options) => {

webpackConfig
.mode('production')
.devtool('source-map')
.devtool(options.productionSourceMap ? 'source-map' : false)
.output
.filename(filename)
.chunkFilename(filename)
Expand Down

0 comments on commit dcf9931

Please sign in to comment.