[ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread Jonathon McKitrick
I've been unable to get mine working: {:source-paths ["src/cljs"] ;;"env/dev/cljs" :compiler {:output-to "resources/public/js/main.js" :optimizations :advanced :cache-analysis true /js/bootstrap.min.js"] :preamble ["jquery/jquery-2.1.1.min.js"

Re: [ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread David Nolen
You haven't supplied externs. On Thursday, March 26, 2015, Jonathon McKitrick wrote: > I've been unable to get mine working: > > {:source-paths ["src/cljs"] ;;"env/dev/cljs" >:compiler >{:output-to "resources/public/js/main.js" > :optimizations :advanced > :

Re: [ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread Jonathon McKitrick
Right, but that doesn't make a difference. Same error. On Thursday, March 26, 2015 at 11:50:32 AM UTC-4, David Nolen wrote: > You haven't supplied externs. > > On Thursday, March 26, 2015, Jonathon McKitrick wrote: > I've been unable to get mine working: > > > >       {:source-paths ["src/cl

Re: [ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread David Nolen
I suspect you are not correctly supplying externs. If you believe you are please demonstrate the issue without lein or cljsbuild. It should be simple to replicate following only the instructions of the Quick Start. David On Thu, Mar 26, 2015 at 11:55 AM, Jonathon McKitrick wrote: > Right, but t

Re: [ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread Jonathon McKitrick
Hmm. No success yet. Is there anything special required when using cljsjs packages, i.e. externs, settings, etc? -- 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 "Clojure

Re: [ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread Jonathon McKitrick
Is there a simple way to track down which externs are not being resolved? The browser console just has cryptic, munged function names, of course, and I'm extern'ing the only libraries I'm using, AFAIK: jQuery and Bootstrap. On Thursday, March 26, 2015 at 1:07:01 PM UTC-4, Jonathon McKitrick wro

Re: [ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread Jonathon McKitrick
I'm about to make a monetary offer to anyone who can ScreenHero with me and fix this. Any takers? ;-) -- 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" gro

Re: [ClojureScript] Is there some new trick to advanced optimizations?

2015-03-26 Thread Daniel Kersten
Try setting :pseudo-names to true: https://github.com/clojure/clojurescript/wiki/Compiler-Options#pseudo-names This way you can at least see which identifiers got renamed during optimisation. On Thu, 26 Mar 2015 at 17:22 Jonathon McKitrick wrote: > I'm about to make a monetary offer to anyone