These are chat archives for zloirock/core-js

16th
Apr 2015
Barney Carroll
@barneycarroll
Apr 16 2015 15:56
Hi guys! I’m writing a piece of software I’d like to package as ES5-ready without demanding native object pollution. Currently I’m using Browserify with the Babelify transform to turn what looks like ES6 into UMD-consumable ES5. The one hitch is core-js reliance. Does anyone know of any transformers that will parse my ES6 native object references and introduce the requisite core-js bits and pieces and rename my references to match?
Denis Pushkarev
@zloirock
Apr 16 2015 16:00
Emm... babel runtime transformer? :)
Barney Carroll
@barneycarroll
Apr 16 2015 16:01
Wow
Thanks @zloirock – a lot has changed recently, this isn’t the first time I’ve been pointed to the docs to find new awesome stuff :)
Babel CLI’s scope has really expanded!
Richard Eames
@Naddiseo
Apr 16 2015 20:28
How does the shimming of global objects work if used via babel?
My problem specifically: String#startsWith doesn't work in IE
Richard Eames
@Naddiseo
Apr 16 2015 20:43
Also, what's the difference between the default build and the shim build?
Denis Pushkarev
@zloirock
Apr 16 2015 22:13

@Naddiseo

My problem specifically: String#startsWith doesn't work in IE

Prototype methods are not polyfilled when used babel runtime transformer.

Also, what's the difference between the default build and the shim build?

Default build contains some non-standard features, for example, Dict module. Shim build - only polyfills.