react-native/packager/react-packager/.babelrc

27 lines
599 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",
"regenerator"
2015-06-20 01:01:21 +00:00
],
"sourceMaps": false
}