r/Clojurescript • u/self • Dec 24 '18
Looking for code-splitting examples with leiningen.
I'm looking to replace a 30+ page site with an SPA. Is there a guide out there that explains how to do code-splitting with leiningen instead of shadow-cljs? I'm not opposed to the latter; I just want to reduce the cognitive overload of learning a lot of different tools on a deadline.
5
Upvotes
View all comments
Show parent comment
1
u/self Dec 26 '18
Thanks. I read about it when the news item was posted, and I'm still trying to wrap my head around it. Do I really have to do the work of specifying all the modules myself?
I don't know how other tools like webpack work; I'm not familiar with the Javascript ecosystem. (That's why I use cljs in the first place -- to avoid js and its tools.)