enable es6 module syntax
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
This commit is contained in:
parent
31a0c95f69
commit
9c4b476679
|
@ -9,6 +9,7 @@
|
||||||
"es6.classes",
|
"es6.classes",
|
||||||
"es6.constants",
|
"es6.constants",
|
||||||
"es6.destructuring",
|
"es6.destructuring",
|
||||||
|
"es6.modules",
|
||||||
"es6.parameters",
|
"es6.parameters",
|
||||||
"es6.properties.computed",
|
"es6.properties.computed",
|
||||||
"es6.properties.shorthand",
|
"es6.properties.shorthand",
|
||||||
|
|
|
@ -37,6 +37,7 @@ function transform(src, filename, options) {
|
||||||
'es6.classes',
|
'es6.classes',
|
||||||
'es6.constants',
|
'es6.constants',
|
||||||
'es6.destructuring',
|
'es6.destructuring',
|
||||||
|
'es6.modules',
|
||||||
'es6.parameters',
|
'es6.parameters',
|
||||||
'es6.properties.computed',
|
'es6.properties.computed',
|
||||||
'es6.properties.shorthand',
|
'es6.properties.shorthand',
|
||||||
|
|
Loading…
Reference in New Issue