https://github.com/gandi/babel-preset-gandi
https://github.com/gandi/babel-preset-gandi
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/gandi/babel-preset-gandi
- Owner: Gandi
- License: isc
- Created: 2016-11-17T14:20:12.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2025-04-08T08:49:46.000Z (about 1 year ago)
- Last Synced: 2025-04-12T03:14:38.954Z (about 1 year ago)
- Language: JavaScript
- Size: 1.93 MB
- Stars: 6
- Watchers: 21
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# babel-preset-gandi
Shareable [Babel](https://github.com/babel/babel) preset for [Gandi](https://github.com/Gandi).
Includes ES2022+, React, Flow, as well as common transforms and polyfills.
## Installation
``` sh
$ npm install --save-dev @gandi/babel-preset-gandi
```
or
``` sh
$ yarn add --dev @gandi/babel-preset-gandi
```
## Usage
Add the following line to your `.babelrc` file:
``` json
{
"presets": ["@gandi/gandi"]
}
```
Pass options to `babel-preset-env`
``` json
{
"presets": [["@gandi/gandi", { "modules": "false" }]]
}
```
See the [full list of available options](https://babeljs.io/docs/en/next/babel-preset-env.html#options).
## Changelog
All notable changes to this project will be documented in [this section](CHANGELOG.md).
*This project adheres to [Semantic Versioning](http://semver.org/) and [Keep A Changelog](http://keepachangelog.com/).*
## Found a bug or contribute?
Please open an [issue](https://github.com/Gandi/babel-preset-gandi/issues). If it's clear and well labelized, it's quicker to fix!
Else you can start contributing.
### Code of conduct
Be nice. Thanks.
### Contributors
_(People who have been involved in @gandi/babel-preset-gandi)_
* Julien Muetton @themouette
* Yann Brelière @yanndinendal
* Alexis Mineaud @cr0cK
* Arthur Gautier @baloo
* Timothée Pillard @ziir
## License
ISC.