silkapp / rest

Packages for defining APIs, running them, generating client code and documentation.
http://silkapp.github.io/rest
390 stars 52 forks source link

Allow automatically running rest-gen javascript through minifiers and compiler #122

Open octopuscabbage opened 9 years ago

octopuscabbage commented 9 years ago

There could be optional support for using Google's closure compiler for minifying the JS output using rest-gen. It wouldn't be very hard to do considering it itself is a rest api.

I will work on this Tuesday (June 9th, 2015) if people think this is a good idea. Additionally, if people have other well known minifiers they would like to use let me know. I could also add arbitrary support by adding a flag which can use a local executable.

bergmark commented 9 years ago

I think what i'd rather see is rest-gen being usable as a library as well, it would then be easy to add any post-processing without having to change rest-gen at all

On Fri, Jun 5, 2015 at 9:45 PM, Chris Denniston notifications@github.com wrote:

There could be optional support for using Google's closure compiler for minifying the JS output using rest-gen. It wouldn't be very hard to do considering it itself is a rest api.

I will work on this Tuesday (June 9th, 2015) if people think this is a good idea. Additionally, if people have other well known minifiers they would like to use let me know. I could also add arbitrary support by adding a flag which can use a local executable.

Reply to this email directly or view it on GitHub: https://github.com/silkapp/rest/issues/122