@diplodoc/babel-preset
v1.0.3
Published
diplodoc Babel preset
Downloads
79
Readme
@diplodoc/babel-preset
Babel preset for Gravity UI projects
Install
npm install --save-dev @diplodoc/babel-preset
Usage
Via .babelrc
{
"presets": [
"@diplodoc/babel-preset",
{
"env": {modules: false}, // defaults to {}
"runtime": {useESModules: true}, // defaults to {}
"typescript": true, // defaults to false
"react": {runtime: "automatic"} // defaults to {}
}
]
}