1.0.3 • Published 7 years ago
babel-preset-ct v1.0.3
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.