This can now be considered an abuse of :preamble. Use :foreign-libs. Advanced compilation will work fine as long as you supply externs.
For jQuery I would just use the package supplied by CLJSJS http://cljsjs.github.io. I don't see a bootstrap package, so you'll have to do a local :foreign-lib for this case and supply your own externs. David On Wed, Jun 10, 2015 at 9:52 AM, Jonathon McKitrick <[email protected]> wrote: > My ClojureScript dependencies work great. Problem is, I need > jQuery/Bootstrap for a modal I use. > > Currently, I simply inject what I need into the preamble, like so: > > :preamble ["jquery/jquery-2.1.1.min.js" > "public/vendor/js/bootstrap.min.js"] > > This works fine up to optimizations :simple. However, I have not figured > out how (or even if) I can get advanced optimizations to work in my case. > > Is this doable? > > -- > 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 http://groups.google.com/group/clojurescript. > -- 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 http://groups.google.com/group/clojurescript.
