babel-preset-kyt-react

1.3.20 • Public • Published

babel-preset-kyt-react

npm

A wrapper around @babel/preset-react with optional production enhancements.

This preset includes babel-preset-kyt-core - you do not need to install both.

  • Automatically strips propTypes when (NODE|BABEL)_ENV=production.
  • Properly passes { development: true } to @babel/preset-react when (NODE|BABEL)_ENV=development.

Installation

$ yarn add --dev babel-preset-kyt-react
$ npm i --save-dev --save-exact babel-preset-kyt-react

Options

Package Sidebar

Install

npm i babel-preset-kyt-react

Weekly Downloads

6,648

Version

1.3.20

License

Apache-2.0

Unpacked Size

4.69 kB

Total Files

4

Last publish

Collaborators

  • fesebuv
  • btwood
  • delambo
  • caiogondim
  • wonderboymusic
  • ccpricenytimes
  • jaredmcdonald