✅ Namespacing and root module


#1

Is it possible to define a root module using bsb’s automatic namespacing. For example I am working on a library called NactCron, and I’d like to be able to provide a method in this module called NactCron.make(). Is this possible with automatic namespacing? Or will I have to switch to manual namespacing going forward?


#2

this isn’t currently possible, unfortunately – here’s a github issue about adding this in https://github.com/BuckleScript/bucklescript/issues/2688