A foreign library entry can now declare which namespace maps to which globally exported name: Note that as :global-exports is a map of namespaces to global exports, users leveraging Webpack to make a single foreign library can easily map all the bundled libraries for idiomatic usage. Since foreign library usage is now unified with normal namespace usage, you can switch to node_modules dependencies with no actual changes in your source code, just changes to your dependencies in your dependency management tool of choice (Maven, Lein, Boot).