mirror of
https://gitlab.com/RemixDev/deemix-gui.git
synced 2025-01-29 17:58:28 +00:00
Fixed webpack config
This commit is contained in:
parent
4e78dc09d4
commit
90799bd1f9
|
@ -5,7 +5,7 @@ const NodemonPlugin = require('nodemon-webpack-plugin')
|
|||
module.exports = env => {
|
||||
const isProduction = !!env.production
|
||||
const generateSourceMap = !!env.sourcemap
|
||||
let devtool = null
|
||||
let devtool = false
|
||||
if (!isProduction) {
|
||||
devtool = generateSourceMap ? 'source-map' : 'eval'
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue