@amille/babel-preset
v3.1.1
Published
Babel preset
Downloads
235
Readme
@amille/babel-preset
Installation
# using npm
npm install --save-dev @amille/babel-preset
# or using yarn
yarn add -D @amille/babel-preset
Then create a file named .babelrc
with following contents in the root folder of your project:
{
"presets": ["@amille/babel-preset"]
}
Options
Options are
preset-env
[https://babeljs.io/docs/en/babel-preset-env]preset-react
[https://babeljs.io/docs/en/babel-preset-react/]preset-typescript
[https://babeljs.io/docs/en/babel-preset-typescript]class-properties
[https://babeljs.io/docs/en/babel-plugin-proposal-class-properties]transform-runtime
[https://babeljs.io/docs/en/babel-plugin-transform-runtime]