node package manager
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org ยป



Microlibrary for use by webpack to avoid babel implicitly importing core-js polyfills


In your client side code use require('babel-polyfill-silencer') on the first line. This is only necessary if you want to avoid a race condition if loading a Symbol polyfill asynchronously, e.g.

In your webpack config use/extend require('babel-polyfill-silencer/aliases') in your aliases config.

It's probably possible to do something similar with other client packagers. PRs documenting this are welcome ๐Ÿ˜„

Finally, if using babel-transform-runtime pass it the option {polyfill: false}