|
|
|
@ -82,12 +82,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 => { |
|
|
|
|