Narcoleptic Programmers' Medicine
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

babel-preset-es2015-webpack2

1.0.0 • Public • Published

babel-preset-es2015-webpack2

Babel preset for all es2015 plugins except es2015-modules-commonjs (because webpack2 supports it already!).

Install

$ npm install --save-dev babel-preset-es2015-webpack2

Usage

Via .babelrc (Recommended)

.babelrc

{
  "presets": ["es2015-webpack2"]
}

Via CLI

$ babel script.js --presets es2015-webpack2

Via Node API

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

Keywords

none

install

npm i babel-preset-es2015-webpack2

Downloadsweekly downloads

95

version

1.0.0

license

MIT

homepage

babeljs.io

repository

Gitgithub

last publish

collaborators

  • avatar