Skip to content

Commit

Permalink
enable es6 module syntax
Browse files Browse the repository at this point in the history
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 9c4b476
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packager/react-packager/.babelrc
Expand Up @@ -9,6 +9,7 @@
"es6.classes",
"es6.constants",
"es6.destructuring",
"es6.modules",
"es6.parameters",
"es6.properties.computed",
"es6.properties.shorthand",
Expand Down
1 change: 1 addition & 0 deletions packager/transformer.js
Expand Up @@ -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',
Expand Down

0 comments on commit 9c4b476

Please sign in to comment.