GWT Compiler as a stand-alone javascript compiler?

116 views
Skip to first unread message

Transplant

unread,
Apr 2, 2012, 6:03:42 PM4/2/12
to Google Web Toolkit

Is there a way to use the GWT Compiler as a stand-alone javascript
compiler to optimize/minimize pure javascript? If so, how does it
stack up to other javascript compilers?

Thanks,

KevMo

unread,
Apr 2, 2012, 6:31:34 PM4/2/12
to google-we...@googlegroups.com
I don't know if you can use GWT, but check out Google Closure for javascript optimization/minification.


-Kevin

Alan Leung

unread,
Apr 2, 2012, 6:53:05 PM4/2/12
to google-we...@googlegroups.com
GWT does a very good job at optimizing Java into Javascript. However, the Closure Compiler team focus a lot of just pure Javascript optimization / minifications. In fact, the GWT team has been looking into use Closure Compiler a backend.

I have done some surveys on different Javascript compression and Closure Compiler outperforms them on almost all situations in terms of size. Although I might be bias as I am also a contributor to that project.

-Alan


--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/wlXYYiXvO8kJ.

To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

Reply all
Reply to author
Forward
0 new messages