Fixed webpack config

This commit is contained in:
RemixDev 2022-03-05 13:17:45 +01:00
parent 4e78dc09d4
commit 90799bd1f9

View File

@ -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'
}