From aca5e206f7b85b986064dd37d4a51ae6f1656e06 Mon Sep 17 00:00:00 2001 From: Ray Schamp Date: Thu, 2 Jun 2016 15:27:32 -0400 Subject: [PATCH] Use eval for webpack devtool The source-map devtool adds a lot of time to startup, and eval works just as well for debugging. --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 1599672d0..91ad38cb8 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -59,7 +59,7 @@ routes.forEach(function (route) { // Config module.exports = { entry: entry, - devtool: 'source-map', + devtool: 'eval', output: { path: path.resolve(__dirname, 'build'), filename: 'js/[name].bundle.js'