Is it true to say that the dependency on :cljs-base is handled by the
compiler ? It seems so when I look at the code generated in :none mode.

I'd love to understand why it's not possible between modules.

Le 24 févr. 2018 21:09, "David Nolen" <[email protected]> a écrit :

> 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 a topic in the
> Google Groups "ClojureScript" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/clojurescript/0s2xiicjm8U/unsubscribe.
> To unsubscribe from this group and all its topics, 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