From b17313dbf64b00b72f1cc891e14bbcf9c4f074c8 Mon Sep 17 00:00:00 2001 From: vigdorov Date: Sat, 11 Jul 2020 22:29:02 +0300 Subject: [PATCH] fix api --- .babelrc | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.babelrc b/.babelrc index 0c36458..315c04a 100644 --- a/.babelrc +++ b/.babelrc @@ -2,6 +2,7 @@ "presets": ["@babel/preset-env"], "plugins": [ "@babel/plugin-syntax-class-properties", - "@babel/plugin-proposal-class-properties" + "@babel/plugin-proposal-class-properties", + "@babel/transform-runtime" ] } \ No newline at end of file diff --git a/package.json b/package.json index fbe01e0..8e0e193 100644 --- a/package.json +++ b/package.json @@ -26,6 +26,7 @@ "@babel/core": "^7.10.4", "@babel/plugin-proposal-class-properties": "^7.10.4", "@babel/plugin-syntax-class-properties": "^7.10.4", + "@babel/plugin-transform-runtime": "^7.10.4", "@babel/preset-env": "^7.10.4", "babel-eslint": "^10.1.0", "babel-loader": "^8.1.0",