Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

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

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\]*