From 09d2b2a36c4536117d20c39abd30632a97a66cd4 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 14 Oct 2016 18:32:52 +0100 Subject: [PATCH] Try adding transform-runtime in react-sdk as it seems the runtime is undefined on the /develop, even though it works just fine for me locally. --- .babelrc | 2 +- package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index 44f8af571d..ceeb850bea 100644 --- a/.babelrc +++ b/.babelrc @@ -1,4 +1,4 @@ { "presets": ["react", "es2015", "es2016"], - "plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator"] + "plugins": ["transform-class-properties", "transform-object-rest-spread", "transform-async-to-generator", "transform-runtime"] } diff --git a/package.json b/package.json index e34066eb16..9d9ea3b88d 100644 --- a/package.json +++ b/package.json @@ -59,6 +59,7 @@ "babel-plugin-transform-async-to-generator": "^6.16.0", "babel-plugin-transform-class-properties": "^6.16.0", "babel-plugin-transform-object-rest-spread": "^6.16.0", + "babel-plugin-transform-runtime": "^6.15.0", "babel-polyfill": "^6.5.0", "babel-preset-es2015": "^6.14.0", "babel-preset-es2016": "^6.11.3",