**DEPRECATED** Plugin for Embark to support es5, es6, es7 and react.
Go to file
Iuri Matias d63806f2d3 update README 2017-02-09 07:47:59 -05:00
.gitignore first commit 2016-12-10 10:24:01 -05:00
LICENSE update plugin to use correct es presents and config 2017-01-15 13:49:45 -05:00
README.md update README 2017-02-09 07:47:59 -05:00
index.js update list of matching files 2017-01-15 14:23:45 -05:00
package.json update plugin to use correct es presents and config 2017-01-15 13:49:45 -05:00

README.md

Embark-Babel

Plugin for Embark to support es5, es6, es7 and react.

Installation

In your embark dapp directory: npm install embark-babel --save

then add embark-babel to the plugins section in embark.json:

  "plugins": {
    "embark-babel": {}
  }

Configuration

the options are supported in the configuration:

  • minified: true/false (default: true)
  • presents: list of presents (default: ['es2015', 'es2016', 'es2017', 'react'])

e.g

  "plugins": {
    "embark-babel": {
      "minified": false,
      "presets": ['es2016']
     }
  }