duct-framework / module.cljs

Duct module for developing and compiling ClojureScript
2 stars 6 forks source link

Add :closure-defines to compiler options #4

Closed scottlowe closed 7 years ago

scottlowe commented 7 years ago

By adding the :closure-defines option and setting goog.DEBUG to false, the compiler can eliminate unwanted dev code at compile time.