Require-js compiler

30 views
Skip to first unread message

Filirom1

unread,
Jul 4, 2011, 5:52:05 AM7/4/11
to resthub-dev
Hi,

I just code a require-js compiler for java (based on rhino).
https://github.com/Filirom1/concoct

I am going to create a maven-plugin in order to compile the require-js
files before the war creation.

I was thinking that this feature could be interested for you too. Do
you have some special needs, before I start coding ?

Cheers

Romain

Seb

unread,
Jul 4, 2011, 4:04:09 PM7/4/11
to resth...@googlegroups.com
Hi,

Indeed this feature would be very interesting to compile resthub framework or application JS files, thanks a lot for your proposal.
Do you plan to use UglifyJS runned in Rhino ?

In term of needs, what we have already identify is :
 - Be able to build an compressed + aggregated version of resthub.js with all modules in it.
 - Be able to compress only (we keep the sample granularity of files) applications JS files, in order to keep lazy loading behaviour.

Regards,
Seb

Objelean Alex

unread,
Jul 6, 2011, 10:28:49 AM7/6/11
to resth...@googlegroups.com
In case you find it useful, there is already a project which uses uglifyJs with Rhino (as well as many other existing js compressors, like packerJs, YuiCompressor, GoogleClosure, DojoShrinkSafe, etc): wro4j (web resource optimizer for java)

Regards,
Alex
Reply all
Reply to author
Forward
0 new messages