From 5a7fa7e2ddc4e4a3d0b525c3f0c47208478dd188 Mon Sep 17 00:00:00 2001 From: Peter van der Zee Date: Wed, 21 Mar 2018 09:27:30 -0700 Subject: [PATCH] Add babel-helper-module-imports to prepare react transform Reviewed By: arcanis Differential Revision: D7337427 fbshipit-source-id: caf2b2df2b506378b820302374ad9be523283da7 --- .../package.json | 1 + yarn.lock | 15 +++++++++++++++ 2 files changed, 16 insertions(+) diff --git a/packages/metro-babel7-plugin-react-transform/package.json b/packages/metro-babel7-plugin-react-transform/package.json index 4e02a202..eb49075b 100644 --- a/packages/metro-babel7-plugin-react-transform/package.json +++ b/packages/metro-babel7-plugin-react-transform/package.json @@ -3,6 +3,7 @@ "name": "metro-babel7-plugin-react-transform", "main": "lib/index.js", "dependencies": { + "babel-helper-module-imports": "^7.0.0-beta.3", "lodash": "^4.17.5" } } diff --git a/yarn.lock b/yarn.lock index 72e6ee97..defebf70 100644 --- a/yarn.lock +++ b/yarn.lock @@ -871,6 +871,13 @@ babel-helper-hoist-variables@^6.24.1: babel-runtime "^6.22.0" babel-types "^6.24.1" +babel-helper-module-imports@^7.0.0-beta.3: + version "7.0.0-beta.3" + resolved "https://registry.yarnpkg.com/babel-helper-module-imports/-/babel-helper-module-imports-7.0.0-beta.3.tgz#e15764e3af9c8e11810c09f78f498a2bdc71585a" + dependencies: + babel-types "7.0.0-beta.3" + lodash "^4.2.0" + babel-helper-optimise-call-expression@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-helper-optimise-call-expression/-/babel-helper-optimise-call-expression-6.24.1.tgz#f7a13427ba9f73f8f4fa993c54a97882d1244257" @@ -1448,6 +1455,14 @@ babel-traverse@^6.26.0: invariant "^2.2.2" lodash "^4.17.4" +babel-types@7.0.0-beta.3: + version "7.0.0-beta.3" + resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-7.0.0-beta.3.tgz#cd927ca70e0ae8ab05f4aab83778cfb3e6eb20b4" + dependencies: + esutils "^2.0.2" + lodash "^4.2.0" + to-fast-properties "^2.0.0" + babel-types@^6.18.0, babel-types@^6.24.1: version "6.24.1" resolved "https://registry.yarnpkg.com/babel-types/-/babel-types-6.24.1.tgz#a136879dc15b3606bda0d90c1fc74304c2ff0975"