@iold/babel-preset-old
Custom Babel Presets, based on babel-preset-react-app, polyfill and transforms of jest included.
Usage
npm i @iold/babel-preset-old -D
Babel Presets
In .babelrc
:
{
"presets": ["react-app"]
}
Polyfill
import '@iold/babel-preset-old/lib/polyfill';
// Or
require('@iold/babel-preset-old/lib/polyfill');