Skip to content

Instantly share code, notes, and snippets.

@shohey1226
Forked from joshblack/.babelrc
Created November 25, 2015 03:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shohey1226/a5c0540e389df71a565a to your computer and use it in GitHub Desktop.
Save shohey1226/a5c0540e389df71a565a to your computer and use it in GitHub Desktop.
Whitelist transformers in `.babelrc` for projects
{
"retainLines": true,
"compact": true,
"comments": false,
"whitelist": [
"es6.arrowFunctions",
"es6.blockScoping",
"es6.classes",
"es6.constants",
"es6.destructuring",
"es6.modules",
"es6.parameters",
"es6.properties.computed",
"es6.properties.shorthand",
"es6.spread",
"es6.templateLiterals",
"es7.classProperties",
"es7.decorators",
"es7.exportExtensions",
"es7.objectRestSpread",
"flow",
"react",
"strict"
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment