babel-preset-react-optim

1.0.0 • Public • Published

babel-preset-react-optim

package version package downloads standard-readme compliant package license make a pull request

Babel preset for optimizing react code

Table of Contents

About

This preset is nothing more than a collection of Babel plugins intented to improve the performance of React apps. It is inspired on babel-react-optimize, but customized for my own use cases.

Plugins

Usage

In .babelrc/babel.config.js:

{
 // ...
  "env": {
    "production": {
      "presets": ["babel-preset-react-optim"]
    }
  }
}

Install

This project uses node and npm.

$ npm install babel-preset-react-optim
# OR 
$ yarn add babel-preset-react-optim

Contribute

  1. Fork it and create your feature branch: git checkout -b my-new-feature
  2. Commit your changes: git commit -am "Add some feature"
  3. Push to the branch: git push origin my-new-feature
  4. Submit a pull request

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i babel-preset-react-optim

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.98 kB

Total Files

5

Last publish

Collaborators

  • tiaanduplessis