Skip to content

Babel preset for all plugins needed with the latest electron

License

Notifications You must be signed in to change notification settings

emorikawa/babel-preset-electron

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

babel-preset-electron

Babel preset with all plugins for Electron.

Install

Electron 37.8

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

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["electron"]
}

Via CLI

$ babel script.js --preset electron

Via Node API

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

About

Babel preset for all plugins needed with the latest electron

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published