From a5a588f4ec7b300d43cd0496dd83fc640a3d48e9 Mon Sep 17 00:00:00 2001 From: iseulde Date: Wed, 10 May 2017 22:35:20 +0200 Subject: [PATCH] Add Babel transform-runtime plugin --- .babelrc | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index c13c5f6..3ca1979 100644 --- a/.babelrc +++ b/.babelrc @@ -1,3 +1,4 @@ { - "presets": ["es2015"] + "presets": ["es2015"], + "plugins": ["transform-runtime"] } diff --git a/package.json b/package.json index 4a5ab99..ed772c9 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "license": "GPL-3.0", "devDependencies": { "babel-cli": "6.x.x", + "babel-plugin-transform-runtime": "6.x.x", "babel-preset-es2015": "6.x.x", "babel-register": "6.x.x", "jsdom": "10.x.x",