It's here: Bankai v9, the friendly web compiler →https://medium.com/choojs/bankai-the-friendly-web-compiler-35f1916679cc …
-
-
Replying to @4kilobytes
This is really cool! I had a comment about the polyfill section for Babel, if you use the `useBuiltIns` option of preset-env it will remove unnecessary polyfills https://github.com/babel/babel-preset-env/tree/v1.6.1#usebuiltins …pic.twitter.com/pWaAHswSAm
1 reply 0 retweets 6 likes -
Replying to @left_pad @4kilobytes
Created a patch to fix this! — Not quite sure what's going on tho. If we run it on a file with just the polyfill, it still seems to include all of it. Are we perhaps doing something wrong?https://github.com/choojs/bankai/pull/338 …
1 reply 0 retweets 2 likes -
Replying to @yoshuawuyts @4kilobytes
Oh yeah, the useBuiltIns in 1.x only removes native support so it wouldn't do much for ie11, in Babel v7 there's a usage option which does the import per file which is probably what you are looking for
2 replies 0 retweets 3 likes -
Hope https://github.com/babel/babel/blob/master/packages/babel-preset-env/README.md#usebuiltins … explains those 2 options better (v7 moves to scoped packages)
1 reply 0 retweets 3 likes
Hmmm, it looks like @babel/babelify isn't a thing yet — would you accept a patch for me to make @babel/babe-core a peerDep? https://github.com/babel/babelify/blob/master/index.js#L2 …
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.