bhauman / lein-figwheel

Figwheel builds your ClojureScript code and hot loads it into the browser as you are coding!
Eclipse Public License 1.0
2.88k stars 210 forks source link

Allow :npm-deps true #715

Closed mfikes closed 5 years ago

mfikes commented 5 years ago

The next release of ClojureScript will allow NPM deps to satisfy either map? or boolean?.

See https://github.com/clojure/clojurescript-site/pull/264/files

Currently, Figwheel complains if you put true:

The key :npm-deps at (:cljsbuild :builds 0 :compiler) has a non-conforming value: true
It should be a Map

  {:cljsbuild
   {:builds
    [{:compiler
      {:output-to "target/ios/index.js"
       :main "env.ios.main"
       :output-dir "target/ios"
       :optimizations :none
       :npm-deps true
       ^---- The value at key :npm-deps doesn't conform
       :target :nodejs}}]}}
bhauman commented 5 years ago

fixed