mirror of
https://github.com/status-im/react-native.git
synced 2025-01-10 17:45:59 +00:00
9c4b476679
Summary: This is an updated copy of #1993, which was approved by @vjeux but hasn't been rebased. It whitelists the es6 module syntax and updates the JS Environment docs to match. cc @ide @hkjorgensenCloses https://github.com/facebook/react-native/pull/3175 Reviewed By: @svcscm Differential Revision: D2498360 Pulled By: @vjeux
28 lines
577 B
Plaintext
28 lines
577 B
Plaintext
// Keep in sync with packager/transformer.js
|
|
{
|
|
"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.asyncFunctions",
|
|
"es7.trailingFunctionCommas",
|
|
"es7.objectRestSpread",
|
|
"flow",
|
|
"react",
|
|
"react.displayName",
|
|
"regenerator"
|
|
],
|
|
"sourceMaps": false
|
|
}
|