babel-preset-insilico-react-app

1.1.7 • Public • Published

babel-preset-insilico-react-app

Build Status

Babel preset for React Apps created at Insilico

Create a file named .babelrc with following contents in the root folder of your project:

{
  "presets": ["insilico-react-app"]
}

You can send options along, that will be passed directly to babel-preset-env: https://github.com/babel/babel-preset-env.

{
   "presets": [
        [
          "insilico-react-app",
          {
            "modules": "commonjs"
          }
        ]
      ]
}

By default modules (import/export) will not be transformed. If you need to that, you can either pass the relevant option or set the MODULES environment variable.

Valid vaules: "amd" | "umd" | "systemjs" | "commonjs" | false.

/babel-preset-insilico-react-app/

    Package Sidebar

    Install

    npm i babel-preset-insilico-react-app

    Weekly Downloads

    34

    Version

    1.1.7

    License

    MIT

    Last publish

    Collaborators

    • thebuilder