Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jetbrains/babel-preset
JetBrains preset for Babel 6
https://github.com/jetbrains/babel-preset
babel babel-preset jetbrains-ui
Last synced: 30 days ago
JSON representation
JetBrains preset for Babel 6
- Host: GitHub
- URL: https://github.com/jetbrains/babel-preset
- Owner: JetBrains
- License: apache-2.0
- Created: 2017-07-04T15:08:27.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-10-19T14:19:06.000Z (about 1 year ago)
- Last Synced: 2024-05-20T17:14:51.117Z (6 months ago)
- Topics: babel, babel-preset, jetbrains-ui
- Language: JavaScript
- Homepage:
- Size: 1.65 MB
- Stars: 3
- Watchers: 22
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# JetBrains preset for Babel 6 (1.0) and 7 (2.0)
[![official JetBrains project](http://jb.gg/badges/official-flat-square.svg)](https://confluence.jetbrains.com/display/ALL/JetBrains+on+GitHub)
## Babel 6 (1.0)
This preset includes all plugins from the following [official](https://babeljs.io/docs/plugins/#presets-official-presets) presets:* `env` (with [`browserslist` defaults](https://github.com/ai/browserslist#queries) as target),
* `stage-2`,
* `react`,
* plus one extra plugin: [`transform-strict-mode`](http://babeljs.io/docs/plugins/transform-strict-mode).`env` is used with `{modules: false}` option, because webpack 2 uses native imports for tree shaking.
## Babel 7 (2.0)
TODO
**Note to maintainers**: to trigger publishing of the npm package append *\[Publish\]* to the commit message. For example:
*Tweaked the preset \[Publish\]*