diff options
Diffstat (limited to 'dashboard/assets/webpack.config.js')
-rw-r--r-- | dashboard/assets/webpack.config.js | 3 |
1 files changed, 3 insertions, 0 deletions
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: [ |