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",