Can I use an ES6/2015 module import to set a reference in ‘global’ scope?
Shimming modules is the way to go: http://webpack.github.io/docs/shimming-modules.html I quote from the page: plugin ProvidePlugin This plugin makes a module available as variable in every module. The module is required only if you use the variable. Example: Make $ and jQuery available in every module without writing require(“jquery”). new webpack.ProvidePlugin({ $: “jquery”, jQuery: “jquery”, “window.jQuery”: … Read more