Re:Microsoft Edge supports ES6 modules
by gsnedders on Tuesday May 17, 2016 @03:14PM
(#11716459)
> On the other hand, I think if you started packing everything into a tar file, that could as well be a js file.
Modules give you a certain degree of namespacing, which is nice. Compiling down to a tar to be served to a Service Worker is undoubtedly easier than the mangling needed to remove the modules.
Modules give you a certain degree of namespacing, which is nice. Compiling down to a tar to be served to a Service Worker is undoubtedly easier than the mangling needed to remove the modules.