babel-preset-ct

1.0.3 • Public • Published

babel-preset-ct

Babel preset for React Apps created at Charlie Tango

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

{
  "presets": ["ct"]
}

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

{
   "presets": [
        [
          "ct",
          {
            "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.

Dependencies (23)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i babel-preset-ct

    Weekly Downloads

    2

    Version

    1.0.3

    License

    MIT

    Unpacked Size

    7.51 kB

    Total Files

    3

    Last publish

    Collaborators

    • ignas