Spent hours working out how to avoid bringing Babel's pollyfill.js (200kb) - only need GeneratorRuntime (5kb). @slightlylate would be proud
-
-
-
-
Replying to @marcosc @slightlylate
Hoping that with preset-env no one will have to do that as much!
1 reply 0 retweets 0 likes -
Need to manually check what you need as long as you add built-ins as well as your supported browsers list changes
1 reply 0 retweets 0 likes -
There's 2 steps to how preset-env's useBuiltIns option works: auto remove polyfills native to env (done already)
1 reply 0 retweets 0 likes -
2nd is auto removing unused polyfills (https://github.com/babel/babel-preset-env/issues/84 …)
1 reply 0 retweets 2 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.