emezeske / lein-cljsbuild

Leiningen plugin to make ClojureScript development easy.
Other
1.1k stars 151 forks source link

:global-exports compile option is not recognized #474

Closed vspinu closed 7 years ago

vspinu commented 7 years ago

1.9.854 introduced new :global-exports options. Would it be possible recognize it? Thanks.

vspinu commented 7 years ago

Arh.. nevermind. It's figwheel issue. lein cljsbuild compiles just fine.

ExceptionInfo ------ Figwheel Configuration Error ------

Found unrecognized key :global-exports at path (:cljsbuild :builds :dev :compiler :foreign-libs 3)
Must be one of: :file, :module-type, :requires, :preprocess, :provides or :file-min

/store/Dropbox/dev/commix-graph/project.clj:72:27
  67                            :requires ["js.lodash"]}
  68                           {:file           "js/joint.js"
  69                            :file-min       "js/joint.min.js"
  70                            :provides       ["js.joint"]
  71                            :requires       ["js.jquery" "js.backbone" "js.lodash"]
  72                            :global-exports {js.joint/joint        joint
                                ^---  The key :global-exports is unrecognized
  73                                             js.joint/Vectoriser   Vectorizer
  74                                             js.joint/geometry     geometry
  75                                             js.joint/version      joint.version
  76                                             js.joint/dia          joint.dia
  77                                             js.joint/ui           joint.ui

------------------------------------------
  clojure.core/ex-info (core.clj:4725)