Skip to content

Instantly share code, notes, and snippets.

@prashcr
Last active March 17, 2016 11:01
Show Gist options
  • Save prashcr/a80bb835d3305a000a86 to your computer and use it in GitHub Desktop.
Save prashcr/a80bb835d3305a000a86 to your computer and use it in GitHub Desktop.
module.exports = {
// You can also include other presets
presets: ['es2015'],
plugins: [
require('babel-plugin-syntax-class-properties'),
require('babel-plugin-syntax-decorators'),
require('babel-plugin-syntax-object-rest-spread'),
// You can pass parameters using an array syntax
[
require('babel-plugin-transform-regenerator'),
{
async: false,
asyncGenerators: false
}
]
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment