if you actually want to late load (rollup creating N bundles) the Nth bundle needs to be able to see N-1 symbols.
-
-
Replying to @cramforce @NolanLawson
i already miss the ES modules we have now
1 reply 0 retweets 4 likes -
Replying to @Rich_Harris @NolanLawson
All I want is module ‘foo’ {…}, so we could at least make good bundlers for ES7 browsers.
@domenic1 reply 0 retweets 0 likes -
why? Just use existing bundling techniques. That has no advantages.
1 reply 0 retweets 0 likes -
See thread. Using first class modules avoid using global namespace for symbol discovery.
1 reply 0 retweets 1 like -
Replying to @cramforce @domenic and
webpack avoids this, by making module lookup a hash lookup and respective slow code.
2 replies 0 retweets 2 likes -
Replying to @cramforce
: +1; I'm pretty surprised there's still any appetite for existing bundling. So slow. /cc
@domenic@rich_harris@nolanlawson1 reply 0 retweets 0 likes
: @dglazkov mentioned using HTML Import + <script type="module">...could work well
/cc @domenic @rich_harris @nolanlawson
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
& Web Standards TL; Blink API OWNER
Named PWAs w/
DMs open. Tweets my own; press@google.com for official comms.