Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1232)

Unified Diff: appengine/swarming/elements/Makefile

Issue 2324493002: Improve minification of frontend Polymer Elements (Closed) Base URL: git@github.com:luci/luci-py@master
Patch Set: remake Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | appengine/swarming/elements/build/js/js.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: appengine/swarming/elements/Makefile
diff --git a/appengine/swarming/elements/Makefile b/appengine/swarming/elements/Makefile
index 8ad7d1f4572628f70ec22281932f87b4dcaf4b9e..1f6978d4162d0e074af84acd93c6afddc0fe9d3d 100644
--- a/appengine/swarming/elements/Makefile
+++ b/appengine/swarming/elements/Makefile
@@ -27,7 +27,7 @@ run: default
vulcanize: default
rm -rf ./build/*
mkdir ./build/js
- ./node_modules/.bin/vulcanize --inline-css=true --inline-scripts=true --strip-comments=true --abspath=./ --out-html=./build/elements.html elements.html
+ ./node_modules/.bin/vulcanize --inline-css --inline-scripts --strip-comments --abspath=./ elements.html | ./node_modules/.bin/html-minifier -o ./build/elements.html --minify-css --minify-js --remove-comments --collapse-whitespace --conservative-collapse
cat ./res/imp/bower_components/webcomponentsjs/webcomponents-lite.min.js ./node_modules/skia-common-js/common.js ./res/js/common.js ./res/js/alias.js | ./node_modules/.bin/uglifyjs -o ./build/js/js.js
.PHONY: debug_build
« no previous file with comments | « no previous file | appengine/swarming/elements/build/js/js.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698