Use eval for webpack devtool

The source-map devtool adds a lot of time to startup, and eval works just as well for debugging.
This commit is contained in:
Ray Schamp 2016-06-02 15:27:32 -04:00
parent 9d6d447fc4
commit aca5e206f7

View file

@ -59,7 +59,7 @@ routes.forEach(function (route) {
// Config // Config
module.exports = { module.exports = {
entry: entry, entry: entry,
devtool: 'source-map', devtool: 'eval',
output: { output: {
path: path.resolve(__dirname, 'build'), path: path.resolve(__dirname, 'build'),
filename: 'js/[name].bundle.js' filename: 'js/[name].bundle.js'