I believe the ClojureScript compiler simply looks for all .cljs files on
the specified compile path. I think maybe you could put your files in
different directories so they don't all get concatenated together. You can
one build specify one path, and another build specify both paths.

Perhaps other people have better solutions?


On Tue, May 7, 2013 at 11:26 AM, Timothy Washington <[email protected]>wrote:

> This is on a Clojurescript compilation note. I've noticed that if I have a
> *main.cljs* and *my-other.cljs*, parts of *my-other.cljs* will appear in *
> main.cljs*. Is there a way to avoid this? Using *lein-cljsbuild*, any of
> the :optimization flags, gives the same result (in terms of adding all to
> *main.cljs*). I'd like main.cljs to just be a bootstrap file, and
> separately include my other files. Then at production time, I can choose
> flip a switch to have all the files compiled down to one
>  compressed main.cljs.
>
> Can I do this?
>
>
> Thanks
> Tim
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to [email protected]
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> [email protected]
> 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 [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to