Today i still feel any sufficiently sophisticated cljs app is going to have
some amount of js. Certain js ecosystem things are better done in js, it's
not fun to pet a cat backwards.

I have a webpack build which outputs a js artifact and other compiled
resources that weren't inlined, and also a cljs build. At one point I think
I used cljs compiler's :preamble option to concat them but David said
somewhere on this list that this isn't a supported use case of preamble. So
I have two js artifacts now (and other compiled resources referenced from
them) and make sure webpack's output loads first.

Webpack will rewrite your css's external references as it compiles your
css, including for your npm dependencies, you shouldn't have to do that by
hand.

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to