Use webpack named modules and eval source map plugins in development and disable Babel’s debug info

This commit is contained in:
Samuel Elliott 2018-07-07 19:52:13 +01:00
parent 7c8c8a754f
commit 98a0717bba
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
2 changed files with 6 additions and 3 deletions

View File

@ -3,8 +3,7 @@
["env", { ["env", {
"targets": { "targets": {
"node": "6.7.0" "node": "6.7.0"
}, }
"debug": true
}] }]
] ]
} }

View File

@ -58,5 +58,9 @@ module.exports = {
process: false, process: false,
__filename: false, __filename: false,
__dirname: false __dirname: false
} },
plugins: [
new webpack.NamedModulesPlugin(),
new webpack.EvalSourceMapDevToolPlugin()
]
}; };