Better redux devtooling support

This commit is contained in:
Dane Everitt 2019-12-22 00:16:13 -08:00
parent ef5d0fb4a2
commit 6966530165
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
4 changed files with 13 additions and 2 deletions

View file

@ -50,7 +50,7 @@ module.exports = {
cache: true,
target: 'web',
mode: process.env.NODE_ENV,
devtool: isProduction ? false : 'eval-source-map',
devtool: isProduction ? false : process.env.DEVTOOL || 'source-map',
performance: {
hints: false,
},