webpack - source-map
2019-07-25 •
1 条评论
config
// https://webpack.js.org/configuration/devtool/#development
.when(process.env.NODE_ENV === 'development',
config => config.devtool('source-map')
)