Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

babel-preset-electron

1.4.15 • Public • Published

babel-preset-electron

Babel preset with all plugins for Electron.

Install

Electron 1.4.15

$ npm install --save-dev babel-preset-electron@1.4.15

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["electron"]
}

Via CLI

$ babel script.js --preset electron

Via Node API

require("babel-core").transform("code", {
  presets: ["electron"]
});

Install

npm i babel-preset-electron

DownloadsWeekly Downloads

170

Version

1.4.15

License

MIT

Homepage

babeljs.io/

Last publish

Collaborators

  • avatar