An open API service indexing awesome lists of open source software.

https://github.com/contactlab/babelrc

Contactlab official (extendible) Babel configuration
https://github.com/contactlab/babelrc

babel babelrc configuration

Last synced: 5 months ago
JSON representation

Contactlab official (extendible) Babel configuration

Awesome Lists containing this project

README

          

# @contactlab/babelrc

Contactlab Frontend Team official (extendible) Babel configuration.

## Usage

```sh
$ npm install -D @contactlab/babelrc

# or

$ yarn add -D @contactlab/babelrc
```

In **package.json**:

```json
{
"babel": {
"extends": "@contactlab/babelrc",
"presets": ["..."],
"plugins": ["..."]
}
}
```

or in **.babelrc**:

```json
{
"extends": "@contactlab/babelrc",
"presets": ["..."],
"plugins": ["..."]
}
```

## Reference

`extends` option in [Babel CLI / .babelrc](https://babeljs.io/docs/en/options#extends).

## License

Released under the [Apache 2.0](LICENSE) license.