You must specify :depends-on - the compiler will not do this for you.

David

On Fri, Feb 23, 2018 at 1:06 PM, Khalid Jebbari <[email protected]>
wrote:

> Hello,
>
> Say I have 2 namespaces in CLJS/CLJC, A and B. A requires B explicitly.
>
> I want to produce a js file for each namespace, A.js and B.js. So I use
> the code-splitting feature, and create a dedicated module entry for each
> namespace, :A and :B.
>
> What's exactly the difference between specifying that module :A
> ":depends-on" :B and not specifying it ? Surely the compiler can understand
> the dependence by just analyzing the requires in code.
>
> --
> 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 https://groups.google.com/group/clojurescript.
>

-- 
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 https://groups.google.com/group/clojurescript.

Reply via email to