From 9281059c40760e0e916aa95cd3f82ca1a542d4e9 Mon Sep 17 00:00:00 2001 From: Nemanja <31325167+nemanjaglumac@users.noreply.github.com> Date: Mon, 17 May 2021 16:45:28 +0200 Subject: [PATCH] Add `mode` to the config --- webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/webpack.config.js b/webpack.config.js index ed490c2198b44..5d3fc285e7c7c 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -44,6 +44,7 @@ const CSS_CONFIG = { }; const config = (module.exports = { + mode: devMode ? "development" : "production", context: SRC_PATH, // output a bundle for the app JS and a bundle for styles