From 86b3163ac9011418fdd85b21a6ed7178487a6a56 Mon Sep 17 00:00:00 2001 From: Vlad M Date: Sun, 7 Oct 2018 22:03:20 +0300 Subject: [PATCH] Set "development" mode for webpack. Set "development" mode for webpack to avoid long production building. --- webpack.config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 4dc7478..5df4c55 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -5,6 +5,7 @@ var buildPath = path.join(__dirname, 'dist'); module.exports = { context: srcPath, entry: path.join(srcPath, 'js', 'client.js'), + mode: "development", output: { path: buildPath, filename: "bundle.js" @@ -21,4 +22,4 @@ module.exports = { } ] } -}; \ No newline at end of file +};