On Sat, Jan 24, 2015 at 11:01 AM, Khalid Jebbari <[email protected]>
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

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/clojurescript.

Reply via email to