wavesoft / dot-dom

.dom is a tiny (512 byte) template engine that uses virtual DOM and some of react principles
Apache License 2.0
806 stars 53 forks source link

building with gulp and automatically picking smallest file #28

Closed PascalPflaum closed 7 years ago

PascalPflaum commented 7 years ago

This PR build automatically the .js and .js.gz file and keeps the smallest build for each of those files.

Actuall results: dotdom-babili.js 781 dotdom-uglify.js 783

dotdom-uglify.js.gz 499 dotdom-babili.js.gz 508

So the gulp task will pick the babili file for js, but the uglify file for js.gz.

wavesoft commented 7 years ago

Love it! Thanks for the great work @PascalPflaum 👍