Re:Microsoft Edge supports ES6 modules
by egeozcan on Tuesday May 17, 2016 @03:10PM
(#11716428)
This is an interesting idea. On the other hand, I think if you started packing everything into a tar file, that could as well be a js file.
[ Parent
| on HN ]
> 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.