Permalink
Browse files

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 #3175

Reviewed By: @​svcscm

Differential Revision: D2498360

Pulled By: @vjeux
  • Loading branch information...
corbt authored and facebook-github-bot-3 committed Oct 1, 2015
1 parent 31a0c95 commit 9c4b476679b16489e1983ee0ac5efbc95d5c820a
Showing with 2 additions and 0 deletions.
  1. +1 −0 packager/react-packager/.babelrc
  2. +1 −0 packager/transformer.js
@@ -9,6 +9,7 @@
"es6.classes",
"es6.constants",
"es6.destructuring",
+ "es6.modules",
"es6.parameters",
"es6.properties.computed",
"es6.properties.shorthand",
View
@@ -37,6 +37,7 @@ function transform(src, filename, options) {
'es6.classes',
'es6.constants',
'es6.destructuring',
+ 'es6.modules',
'es6.parameters',
'es6.properties.computed',
'es6.properties.shorthand',

0 comments on commit 9c4b476

Please sign in to comment.