Thanks for the pointer. I've read the thread twice though and don't fully
understand your answer. I'll try to play with :depends-on in our project
next week and analyse the output. But detailed explanation is still welcome.
Le 24 févr. 2018 10:51, "Thomas Heller" a écrit :
> I answered a similar question a while ago:
> https://groups.google.com/d/msg/clojurescript/Gk1XA0aIxJM/Ixu45z-wkEoJ
>
>
> On Friday, February 23, 2018 at 7:06:43 PM UTC+1, Khalid Jebbari 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 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
> clojurescript+unsubscr...@googlegroups.com.
> To post to this group, send email to clojurescript@googlegroups.com.
> 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 clojurescript+unsubscr...@googlegroups.com.
To post to this group, send email to clojurescript@googlegroups.com.
Visit this group at https://groups.google.com/group/clojurescript.