babel-preset-kyt-react
This is a babel preset meant for React projects built with kyt.
See the included presets and plugins here
(Note: this preset includes babel-preset-kyt-core)
To use in your project:
npm install babel-preset-kyt-react --save
- In your .babelrc:
{
presets: [
"babel-preset-kyt-react"
]
}
Options
(see documentation for Babel preset options)
coreOptions
(Object
) - options object to pass through to babel-preset-kyt-core
; default {}
CHANGELOG
0.3.0-alpha.4
- 09/19/17
0.3.0-alpha.3
- 09/19/17
- Adds
KYT_ENV_TYPE=test
support for test
runs. You can pass a test
override option into envOptions
. See more in the kyt-core 0.3.0 changelog.
0.3.0-alpha.2
- 09/18/17
- Fixes bugs introduced in the 0.3.0-alpha.1
babel-preset-kyt-core
release. For more.
0.3.0-alpha.1
- 09/17/17
- Updates
babel-preset-kyt-core
to 0.3.0
to take advantage of babel-preset-env
. babel-preset-kyt-react
passes down options to extend preset-env, so you can read more about the envOptions
option in the kyt-core 0.3.0 changelog.
0.2.0
- 03/23/17