Inline ES Modules

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


sorry, I meant:

JSON.stringify('data:text/javascript,' + moduleContentAfterTreeShaking);


On Tue, Jun 19, 2018 at 10:09 PM, Andrea Giammarchi <
andrea.giammarchi at gmail.com> wrote:

>
> 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/57e01b08/attachment.html>


More information about the es-discuss mailing list