fix: use vue-cli default source-map

d4405464ce
This commit is contained in:
潘嘉晨 2020-06-04 21:22:40 +08:00
parent ad02035220
commit 00c68bc5cd

View File

@ -80,12 +80,6 @@ module.exports = {
})
.end()
config
// https://webpack.js.org/configuration/devtool/#development
.when(process.env.NODE_ENV === 'development',
config => config.devtool('cheap-source-map')
)
config
.when(process.env.NODE_ENV !== 'development',
config => {