mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-27 17:49:06 -06:00
fix(build): respect productionSourceMap option for all targets
close #1898
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user