mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-05 03:04:59 +08:00
fix: use vue-cli default source-map (#3097)
cheap-module-eval-source-map
This commit is contained in:
parent
9d8c7edf91
commit
d4405464ce
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user