Skip to content

Latest commit

 

History

History
26 lines (21 loc) · 460 Bytes

README.md

File metadata and controls

26 lines (21 loc) · 460 Bytes

@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 {}
      }
  ]
}