Welcome! Please see the About page for a little more info on how this works.

0 votes
in ClojureScript by

When using :foreign-libs in a :target :nodejs build, the foreign lib bundle must define variables as this.EXAMPLE = "value" instead of just EXAMPLE = "value" for :global-exports to work with :optimizations :simple. However, when :optimizations :none is set, the EXAMPLE = "value" :global-exports works just fine.

1 Answer

0 votes
Reference: https://clojure.atlassian.net/browse/CLJS-2905 (reported by alex+import)