@gravity-ui/babel-preset

1.0.1 • Public • Published

@gravity-ui/babel-preset

Babel preset for Gravity UI projects

Install

npm install --save-dev @gravity-ui/babel-preset

Usage

Via .babelrc

{
  "presets": [
      "@gravity-ui/babel-preset",
      {
        "env": {modules: false}, // defaults to {}
        "runtime": {useESModules: true}, // defaults to {}
        "typescript": true, // defaults to false
        "react": {runtime: "automatic"} // defaults to {}
      }
  ]
}

/@gravity-ui/babel-preset/

    Package Sidebar

    Install

    npm i @gravity-ui/babel-preset

    Weekly Downloads

    2

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    5.14 kB

    Total Files

    5

    Last publish

    Collaborators

    • gravity-ui-bot
    • amje
    • resure