Static Module Resolution

Brandon Benvie brandon at
Sun Jul 1 16:36:16 PDT 2012

What is needed is more of an export adapter than watering down of import
side syntax. In the Node world it is quite common to find files that server
nothing more than the role of some kind of adapter, that simply includes a
bunch of stuff and exports it directly with no modification except names.
There's no reason the same concept doesn't hold for requiring stuff on the
one end and exporting it using es6 modules out the other end. The form this
takes in the browser is a slightly modificied "adapter version" of some
existing file that adds a few lines at the beginning or end of the file
that does the dirtywork.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list