Inline ES Modules

Andrea Giammarchi andrea.giammarchi at
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: <>

More information about the es-discuss mailing list