Multiple targets browser on the same page

Hi!

I wonder if it’s possible to have two builds (browser) and integrate them to the same page?

Thx

That is generally not a good idea since both builds will include their own copy of cljs.core and will not be compatible with each other. Each build will bundle all of its dependencies so you are likely to include everything twice on the page which is a substantial overhead.

Why are you trying to have 2 builds in the page? Are you maybe trying to do something that :modules already solve?

Thanks @thheller for your answer!

Your are right! I’m going to use :modules

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.