1.0.1 • Published 4 years ago

babel-preset-sevencooks v1.0.1

Weekly downloads
2
License
Unlicense
Repository
github
Last release
4 years ago

babel-preset-sevencooks npm.io npm.io Dependency Status

This package includes the Babel preset used by SevenCooks GmbH & Co. KG. Please refer to its documentation:

Usage

First, install Babel.

Then install babel-preset-react-app.

npm install babel-preset-react-app --save-dev

Then create a file named .babelrc with following contents in the root folder of your project:

{
  "presets": ["react-app"]
}

This preset uses the useBuiltIns option with transform-object-rest-spread and transform-react-jsx, which assumes that Object.assign is available or polyfilled.