How do I tell Closure to include Codemirror.js and other js files when it optimizes?
My project.clj file has this: :cljsbuild { :builds { :prod {:source-path "src-cljs" :compiler {:output-to "resources/public/js/subpar.core.js" :optimizations :advanced :pretty-print false}}} On Friday, October 5, 2012 8:21:09 AM UTC-4, David Nolen wrote: > > On Fri, Oct 5, 2012 at 8:16 AM, Andrew <ach...@gmail.com <javascript:>>wrote: > >> Oh. I'm pretty sure it's because in the broken case I use two blobs of js >> which were minified at *separate* times thus allowing for name >> conflicts. > > > Yes Closure assumes whole program optimization. You can't use two > separately advanced compiled pieces of JS code together. > > So is this the actual issue? > > David > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en