From 5dc40afbf681839947cbab691a9f4d2d1ccb7bc0 Mon Sep 17 00:00:00 2001 From: David Aurelio Date: Wed, 2 Dec 2015 03:10:42 -0800 Subject: [PATCH] Add for-of transform to babel configurations Summary: Adds babel-plugin-transform-es2015-for-of to babel configuration. public Reviewed By: tadeuzagallo Differential Revision: D2712220 fb-gh-sync-id: cc6dd9e6e70946607ef9bb9f659eb628cf2eb555 --- package.json | 1 + packager/react-packager/.babelrc | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 5be50c910..d2249d02e 100644 --- a/package.json +++ b/package.json @@ -69,6 +69,7 @@ "babel-plugin-transform-es2015-computed-properties": "^6.0.14", "babel-plugin-transform-es2015-constants": "^6.0.15", "babel-plugin-transform-es2015-destructuring": "^6.0.18", + "babel-plugin-transform-es2015-for-of": "^6.0.14", "babel-plugin-transform-es2015-modules-commonjs": "^6.1.3", "babel-plugin-transform-es2015-parameters": "^6.0.18", "babel-plugin-transform-es2015-shorthand-properties": "^6.0.14", diff --git a/packager/react-packager/.babelrc b/packager/react-packager/.babelrc index c72259dac..e1c61b11f 100644 --- a/packager/react-packager/.babelrc +++ b/packager/react-packager/.babelrc @@ -23,7 +23,8 @@ "transform-object-rest-spread", "transform-react-display-name", "transform-react-jsx", - "transform-regenerator" + "transform-regenerator", + "transform-es2015-for-of" ], "sourceMaps": false }