The option itself is not supported as of now as I'm using the default cljs.closure/set-options function in shadow-cljs. When it is added to CLJS it will become available in shadow-cljs.
I'm currently using the feature internally for the :npm-module target which compiles code so it can be directly consumed by JS tools (or node). I'm setting that manually though so the :rename-prefix-namespace option is not recognized.
Pieter du Toit
August 30, 2017 at 3:17 PM
Thomas, thanks, I get the same result (no prefix namespace) with a shadow-cljs release build as with cljs (when using the new :rename-prefix-namespace and no :modules)
shadow-cljs.edn
moduleb.cljs
Pieter du Toit
August 30, 2017 at 3:01 PM
David, thanks, I have attached the updated patch
David Nolen
August 30, 2017 at 12:21 PM
Ok so they sound like independent options then. Pieter, I'm fine with the patch granted it's updated to augment known-opts.
Adding support for these closure compiler options would allow for a mechanism to avoid name collisions