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.
propTypes
when (NODE|BABEL)_ENV=production
.{ development: true }
to @babel/preset-react
when (NODE|BABEL)_ENV=development
.$ yarn add --dev babel-preset-kyt
$ npm i --save-dev --save-exact babel-preset-kyt
useProductionTransforms
(Boolean
) - whether to include these plugins; default: true
:
envOptions
(Object
) - passed down to babel-preset-kyt-core
. See more.
includeRuntime
(Boolean
) - whether or not to include @babel/plugin-transform-runtime
; default: false
Version | Tag | Published |
---|---|---|
1.1.19 | latest | 6mos ago |