From 704840a8ad9e75d4a00e734f901cac21c51b7eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kurk=C3=B3=20Mih=C3=A1ly?= Date: Thu, 8 Mar 2018 10:22:21 +0200 Subject: cmd, dashboard: use webpack dev server, remove custom assets (#16263) * cmd, dashboard: remove custom assets, webpack dev server * dashboard: yarn commands, small fixes --- dashboard/assets/webpack.config.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'dashboard/assets/webpack.config.js') diff --git a/dashboard/assets/webpack.config.js b/dashboard/assets/webpack.config.js index d90c4fabd..f58d35ad1 100644 --- a/dashboard/assets/webpack.config.js +++ b/dashboard/assets/webpack.config.js @@ -32,6 +32,9 @@ module.exports = { mangle: false, beautify: true, }), + new webpack.DefinePlugin({ + PROD: process.env.NODE_ENV === 'production', + }), ], module: { rules: [ -- cgit v1.2.3