fix: use vue-cli default source-map (#3097)

cheap-module-eval-source-map
This commit is contained in:
花裤衩 2020-04-22 10:31:46 +08:00
parent e29e5838bd
commit c6266ea396
1 changed files with 0 additions and 6 deletions

View File

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