choojs / choo

:steam_locomotive::train: - sturdy 4kb frontend framework
https://choo.io/
MIT License
6.78k stars 595 forks source link

Minify rendered front-end code #680

Closed NetOpWibby closed 6 years ago

NetOpWibby commented 6 years ago

Expected behavior

I'd like an option to minify what choo outputs.

Actual behavior

Currently, this functionality doesn't exist.

Steps to reproduce behavior

N/A

bcomnes commented 6 years ago

Try https://github.com/browserify/tinyify and doesn't bankai do this already?

NetOpWibby commented 6 years ago

I'm not using bankai. Too much magic and I like seeing things in console. I'll try tinify with rollup though, thanks for the suggestion @bcomnes.

bcomnes commented 6 years ago

Totally understand, a few of my projects need the transparency as well. Closing, but we can reopen if there are other issues.

goto-bus-stop commented 6 years ago

Tinyify only works with Browserify, for rollup look into something like rollup-plugin-terser

NetOpWibby commented 6 years ago

Will do!