Inline ES Modules

Andrea Giammarchi andrea.giammarchi at gmail.com
Tue Jun 19 20:09:05 UTC 2018


> I think these are all nice to have features, but I also think we have all
> the primitives we need to make it happen via pre-processing.
>
>>
I meant even synchronously, with a pre-processor that replace the imported
module with

'data:text/javascript,' + JSON.stringify(moduleContentAfterTreeShaking);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20180619/59d75866/attachment.html>


More information about the es-discuss mailing list