Are ES6 modules in browsers going to get loaded level-by-level?

Erik Arvidsson erik.arvidsson at gmail.com
Thu Apr 23 14:57:13 UTC 2015


To add one more option. You can create a service worker that loads a single
zip file from the server and then splits it up for the client.

On Thu, Apr 23, 2015, 10:48 Domenic Denicola <d at domenic.me> wrote:

>  Indeed, there is no built-in facility for bundling since as explained in
> this thread that will actually slow down your performance, and there’s no
> desire to include an antipattern in the language.
>
>
>
> *From:* es-discuss [mailto:es-discuss-bounces at mozilla.org] *On Behalf Of *Eric
> B
> *Sent:* Thursday, April 23, 2015 10:25
> *To:* Frankie Bagnardi; Matthew Phillips
> *Cc:* es-discuss
> *Subject:* Re: Re: Are ES6 modules in browsers going to get loaded
> level-by-level?
>
>
>
> So just to clarify, when browsers support es6 modules we will still need
> some extra library to bundle the modules?  This would mean es6 modules are
> only a syntactical addition and not something functional?
>
>
>
> On Thu, Apr 23, 2015 at 10:18 AM Frankie Bagnardi <f.bagnardi at gmail.com>
> wrote:
>
>  Matthew, there are already tools for es6 modules + bundling (e.g. babel
> + webpack), or converting es6 modules to AMD (e.g. babel
> <https://babeljs.io/docs/usage/modules/>).
>
>
>
>
>
>
>
> On Wed, Apr 22, 2015 at 7:10 PM, Matthew Phillips <matthew at bitovi.com>
> wrote:
>
>
>  Can you clarify what you mean about bundling? Unless I've missed
> something, the ES6 module system does not have a story for bundling at all.
> Of course formats can be invented in userland but I'm not sure that they
> are any easier to implement than say AMD's.  I might have missed something
> though, looking forward to your reply.
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>
>
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
>  _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20150423/1033a147/attachment.html>


More information about the es-discuss mailing list