On Sat, Jan 24, 2015 at 11:01 AM, Khalid Jebbari <khalid.jebb...@gmail.com>
wrote:

> A question (maybe stupid/obvious) : why do you need to declare the "min"
> version of js lib ? The normal version + the extern file is all that's
> needed to compress the file with the Closure Compiler, no ?
>

Declaring the minified version is completely optional.

JavaScript libraries generally ship minified versions so why not leverage
it? Including the un-minified version into the Closure Compiler build is
usually asking for trouble (I encountered problems with React in the past)
and just slows down advanced builds by having more JavaScript to process,
especially large libraries like React (>30KLOC).

David

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to