Socket
Socket
Sign inDemoInstall

embark-babel

Package Overview
Dependencies
228
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    embark-babel

Embark-Babel ======


Version published
Maintainers
1
Install size
8.75 MB
Created

Readme

Source

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

FAQs

Last updated on 09 Feb 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc