diff options
author | Kurkó Mihály <kurkomisi@users.noreply.github.com> | 2018-03-08 16:22:21 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-03-08 16:22:21 +0800 |
commit | 704840a8ad9e75d4a00e734f901cac21c51b7eb5 (patch) | |
tree | e2b012c052986bb40053f09394aefb5c23474a5a /dashboard/assets/webpack.config.js | |
parent | 3ec1b9a92dc09ff33f6fae2e8daa7862d4c51bb1 (diff) | |
download | go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.gz go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.bz2 go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.lz go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.xz go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.zst go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.zip |
cmd, dashboard: use webpack dev server, remove custom assets (#16263)
* cmd, dashboard: remove custom assets, webpack dev server
* dashboard: yarn commands, small fixes
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: [ |