core-js
https://github.com/zloirock/core-js
babelがbabel-polyfillで使っている次期JavaScriptの関数の実装部分
古いブラウザでArray.prototype.findやArray.prototype.includesを使うためにcore-jsを個別に読み込む
code:polyfill.js
import 'babel-regenerator-runtime'
import 'core-js/fn/array/find'
import 'core-js/fn/array/includes'
babel-polyfillをそのまま読み込むと150kbぐらい増えて重いのでこうした
core-js個別に読むと12kb増えた
babel-regenerator-runtimeはasync-awaitに必要