by sgtpep · 10y ago · 0 comments
It's possible to extract js-code from the vulcanized html file to the separate js-file using the crisper command, than run the uglifyjs command with appropriate minification arguments.
Example:
vulcanize --inline-css --inline-scripts ./index.html | crisper -h ./build/index.html -j ./build/script.js
cd ./build
uglifyjs -m -c warnings=false -o ./script.js --source-map=./script.js.map ./script.jsNo comments yet.