babel-preset-react-boilerplate

Babel presets for the React Boilerplate

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
babel-preset-react-boilerplate
001.1.17 years ago7 years agoMinified + gzip package size for babel-preset-react-boilerplate in KB

Readme

Babel Presets for react-webpack-boilerplate

The preset includes:
  • babel-plugin-syntax-class-properties
  • babel-plugin-syntax-decorators
  • babel-plugin-syntax-object-rest-spread
  • babel-plugin-transform-class-properties
  • babel-plugin-transform-decorators-legacy
  • babel-plugin-transform-object-assign
  • babel-plugin-transform-object-rest-spread

Installation

  1. npm install babel-preset-react-boilerplate --save-dev
  1. add the preset in your .babelrc:
``` {
"presets": ["es2015", "react", "react-boilerplate"]
} ```

License

babel-preset-react-boilerplate is available under MIT.