bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

WARNING: :preloads should only be specified with :none optimizations #163

Closed sumbach closed 6 years ago

sumbach commented 6 years ago

In ClojureScript 1.9.854 and above, this warning is produced during lein doo clojurescript compilation for whitespace/simple/advanced optimizations:

WARNING: :preloads should only be specified with :none optimizations
  1. This warning was added to ClojureScript 1.9.293; see CLJS-1821
  2. ClojureScript 1.9.854 began adding a process.env preload by default; see CLJS-2280
  3. The process.env preload is added twice because add-implicit-options is called twice:

I'm not familiar enough with doo or cljs internals to propose a solution, but here are a couple off-the-cuff ideas:

Also, thank you, @bensu, for an amazing tool! lein doo is an incredible enabler for automated cljs testing 😀