https://github.com/jetbrains/babel-preset
JetBrains preset for Babel 6
https://github.com/jetbrains/babel-preset
babel babel-preset jetbrains-ui
Last synced: 8 months 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 (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-06-14T16:30:44.000Z (about 2 years ago)
- Last Synced: 2025-01-30T02:01:36.751Z (over 1 year ago)
- Topics: babel, babel-preset, jetbrains-ui
- Language: JavaScript
- Homepage:
- Size: 1.85 MB
- Stars: 3
- Watchers: 21
- 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)
[](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\]*