babel-preset-insilico-react-app
v1.1.7
Published
Babel preset used by Insilico
Downloads
52
Readme
babel-preset-insilico-react-app
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
.