babel-preset-kyt v1.1.21
babel-preset-kyt
Omnibus kyt
Babel configuration with TypeScript support.
This preset includes babel-preset-kyt-core
and babel-preset-kyt-react
- you do not need to install them.
- 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
$ npm i --save-dev --save-exact babel-preset-kyt
Options
useProductionTransforms
(Boolean
) - whether to include these plugins; default:true
:envOptions
(Object
) - passed down tobabel-preset-kyt-core
. See more.includeRuntime
(Boolean
) - whether or not to include@babel/plugin-transform-runtime
; default:false
4 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
6 months ago
6 months ago
6 months ago
6 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago
4 years ago