This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
how do I handle cljsjs packaging with for example a data validation library with many external js files for each language, where I want to include the core library file and only some of the languages?
sounds like the language files should be their own namespace, so u can require them independently
you might need to use the sift task to get those, i don't remember if that was fully computed or not
it would have been nice from a migration standpoint to have the old hoplon5 way still available; I've been struggling with my 5 or so unsupported plugins for a while now
ok, so jquery datatables which has ui variants for bootstrap, foundation etc, should all be different cljsjs packages?
then you just put the js files in source paths where the compiler can see them on the classpath
{:file "js/moment.inc.js"
:provides [cljsjs.momentjs]
:requires [com.exampl.other-thing-moment-depends-on]}
the deps.cljs file allows you to specify the dependency relations between external js files
which then allows you to use the compiler to bring that code in when you compile the cljs stuff
if you never :require that namespace then the compiler will not bring it into the compiled js