babel-preset-nodify
This package includes the Babel preset used by Nodify.
Features
babel-env-preset
included to compile to user's node version.- adds support for transorming class properties.
- adds support for object rest-spread operator.
- support
test
enviromnet useful for testing with libraries like jest, etc.
Usage
This package is comes pre-installed with Nodify
, you don't have to install it seperately.
Alternate usage
If you want to use this preset outside the context of Nodify
,
simply install babel-preset-nodify
and add to .babelrc
.
"presets": "nodify"