On Friday, December 19, 2014 5:47:53 PM UTC+1, David Nolen wrote: > On Fri, Dec 19, 2014 at 11:29 AM, Arnaud Bailly wrote: > There's an open ticket to address this which needs much review & > consideration.
OK, I think I will wait a little bit before trying to offer a PR :-) > > In the meantime this is entirely solvable in the same way it has been > solved in many web frameworks (Rails, Django, etc.) - use environment > variables to configure the generated markup. environ, > https://github.com/weavejester/environ is good for this. > Sure, I can do this, thanks for the pointer. > > Your discomfort seems very misplaced to me. Deployed JS/CSS artifacts > in most production websites are rarely ever the same as what was > dev'ed with for good reason - you absolutely want concatenation & > minification in production. > Well, I would like to have it in dev too... What if there is a bug or misused feature in the minifier/compiler? I want to catch it as quickly as possible. And any test I can write in the browser or using some other tool like selenium does not care about what the code looks like on the wire. As a matter of fact, when I do Haskell or Java development I use the same compiler flags in dev and production, because these beasts are so complex I do not want to get caught into believing I made a mistake where actually this is something related to the compiler flags. Thanks for your advices, Arnaud -- 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.
