multiple modules with the same name

James Burke jrburke at gmail.com
Tue Jan 28 10:41:55 PST 2014


On Mon, Jan 27, 2014 at 11:53 PM, Marius Gundersen <gundersen at gmail.com> wrote:
> AFAIK ES-6 modules cannot be bundled (yet). But if/when they can be bundled
> this is an argument for silently ignoring duplicates

Loader.prototype.define seems to allow bundling, by passing strings
for the module bodies:

https://people.mozilla.org/~jorendorff/js-loaders/Loader.html


More information about the es-discuss mailing list