Skip to content

embarklabs/embark-babel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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']
     }
  }

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published