How to build my bootstrap theme to a cljs library

I’ve a bootstrap theme, and i’ve used it in my cljs project. now i want to build it to a cljs jar library, so that i can use it in many other projects just like using a library.
the theme include some resources files: css/js/fonts, now i know how to convert html element to react components.
Is this feasible? i include all the resources files and cljs files in a jar pkg, then refer it in my other project?

you can bundle css/fonts into jar file, but ClojureScript compiler won’t resolve assets for you. If you are using Webpack for compiling ClojureScript, it may be available since Webpack analyzes require("./a.css") for you. ClojureScript compiler won’t do that.

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