Personal babel presets.
Usage:
{
// choose one of the following:
"presets": [
"jongleberry",
"jongleberry/node",
"jongleberry/react",
"jongleberry/isomorphic"
]
}
These presets use the following plugins, wherever appropriate:
babel-preset-es2015
- for browsersbabel-preset-stage-1
babel-plugin-syntax-flow
,babel-plugin-typecheck
(non-production only),babel-plugin-transform-flow-strip-types
- for flow type supportbabel-plugin-transform-runtime
- avoid global polyfillsbabel-plugin-lodash
- minimize lodash builds in your FE buildsbabel-react-optimize
- minimize and optimize react builds in production
I would love to add more! Create an issue or PR with recommendations.