You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

babel-preset-react-optim

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-react-optim

Babel preset for optimizing react code

1.0.0
latest
Source
npm
Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

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

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

License

MIT

FAQs

Package last updated on 28 Apr 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts