Socket
Book a DemoInstallSign in
Socket

babel-preset-kyt-react

Package Overview
Dependencies
Maintainers
7
Versions
270
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-kyt-react

An opinionated babel preset for react apps, best used with kyt.

latest
Source
npmnpm
Version
1.3.20
Version published
Maintainers
7
Created
Source

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

Keywords

babel

FAQs

Package last updated on 16 May 2023

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