babel-preset-pytkin-react
This preset based on babel-preset-react-app (v3.1.0)
Usage
First, install Babel.
Then create a file named .babelrc
with following contents in the root folder of your project:
{
"presets": ["pytkin-react"]
}
This preset uses the useBuiltIns
option with transform-object-rest-spread and transform-react-jsx, which assumes that Object.assign
is available or polyfilled.