2.2.2
allows setting :umd-root-name "Foo"
as suggested.
:node-library
was only intended for making node libraries so it makes a couple of assumptions about the node environment. Guess you are the first to try and use this in the browser. Would it be helpful to make a more generic :umd-library
that can also be used in a browser during development? Could also build something that actually respects the AMD part of things so it could work with require.js
?
Fixes
- ensure pid file gets deleted on shutdown https://github.com/thheller/shadow-cljs/commit/7970bb2b34f3b27001f6fffa60359fd6e35ed37e
- allow configuration of
:node-library
exported name via:umd-root-name
https://github.com/thheller/shadow-cljs/issues/212 https://github.com/thheller/shadow-cljs/commit/bc481ecf04991f1470d25d9f13b1ea759d1a0a77
- :shell breaks clojure invocation https://github.com/thheller/shadow-cljs/issues/213 https://github.com/thheller/shadow-cljs/commit/05a5722caf9e25ea458cfd0f014805c0ff6bd163