metro/react-packager/.babelrc

28 lines
624 B
Plaintext
Raw Normal View History

2015-06-20 01:01:21 +00:00
// Keep in sync with packager/transformer.js
{
"retainLines": true,
"compact": true,
"comments": false,
"whitelist": [
"es6.arrowFunctions",
"es6.blockScoping",
// This is the only place where we differ from transformer.js
"es6.constants",
"es6.classes",
"es6.destructuring",
"es6.parameters",
2015-06-20 01:01:21 +00:00
"es6.properties.computed",
"es6.properties.shorthand",
"es6.spread",
"es6.templateLiterals",
"es7.asyncFunctions",
2015-06-20 01:01:21 +00:00
"es7.trailingFunctionCommas",
"es7.objectRestSpread",
"flow",
"react",
"react.displayName",
"regenerator"
2015-06-20 01:01:21 +00:00
],
"sourceMaps": false
}