summaryrefslogtreecommitdiff
path: root/web-ui/webpack.production.config.js
diff options
context:
space:
mode:
authorTayane Fernandes <tayane.rmf@gmail.com>2017-04-24 16:11:41 -0300
committerGitHub <noreply@github.com>2017-04-24 16:11:41 -0300
commit74a9327b03daf53959a08ac5ad134743edf364dc (patch)
tree9489e8ac4572cf04cb427ebc328de5afcb519afb /web-ui/webpack.production.config.js
parent7375316b2d3bc61eeb84e7d59c61ac937bf232a8 (diff)
parentcd50337decfada956b9271d0d2fe34d6e79e431b (diff)
Merge pull request #1063 from pixelated/logout_refresh
Logout refresh
Diffstat (limited to 'web-ui/webpack.production.config.js')
-rw-r--r--web-ui/webpack.production.config.js8
1 files changed, 7 insertions, 1 deletions
diff --git a/web-ui/webpack.production.config.js b/web-ui/webpack.production.config.js
index c731526a..eee944dd 100644
--- a/web-ui/webpack.production.config.js
+++ b/web-ui/webpack.production.config.js
@@ -19,7 +19,13 @@ var commonConfiguration = {
};
var commonPlugins = [
- new webpack.optimize.UglifyJsPlugin(),
+ new webpack.optimize.UglifyJsPlugin({
+ comments: false,
+ compress: {
+ warnings: false,
+ drop_console: true
+ }
+ }),
new webpack.optimize.DedupePlugin(),
new webpack.DefinePlugin({
'process.env': {