Conflating a unit of code organization (ES6 module) with a unit of code delivery (HTML import) is a mistake.https://twitter.com/slightlylate/status/792014657506516992 …
-
-
Replying to @cramforce
@slightlylate yes indeed. Classic solution is “config map” that maps org names into delivery names. Why not use for HTML+ES6 mods1 reply 0 retweets 0 likes -
Replying to @awbjs @slightlylate
there are a lot of good & bad solutions to this problem. All current solutions must compile away the ES6 modules.
2 replies 0 retweets 1 like -
that is very sad, indeed, because it kills interop (such as loading some modules from a CDN).
1 reply 0 retweets 3 likes -
Replying to @cramforce @slightlylate
Note that ES6 module specifiers (import “foo”;) can be treated as logical rather than physical identifiers.
3 replies 0 retweets 0 likes
Replying to @awbjs
: yep, but that disambiguation will be done by script (on the main thread)
/cc @cramforce
9:12 AM - 28 Oct 2016
0 replies
0 retweets
0 likes
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.