Skip to content

Commit 47295d8

Browse files
authored
fix: Fix ui kit babel config (#191)
1 parent 38385a4 commit 47295d8

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

packages/fuselage-ui-kit/babel.config.js

+1
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@ module.exports = (api) => ({
1818
],
1919
plugins: [
2020
'@babel/plugin-proposal-class-properties',
21+
'@babel/plugin-transform-runtime',
2122
],
2223
});

packages/fuselage-ui-kit/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
},
4040
"devDependencies": {
4141
"@babel/core": "^7.7.4",
42-
"@babel/plugin-transform-runtime": "^7.5.0",
42+
"@babel/plugin-transform-runtime": "^7.9.0",
4343
"@babel/preset-env": "^7.4.5",
4444
"@babel/preset-react": "^7.7.4",
4545
"@rocket.chat/fuselage": "^0.7.0",

yarn.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -1257,7 +1257,7 @@
12571257
dependencies:
12581258
"@babel/helper-plugin-utils" "^7.8.3"
12591259

1260-
"@babel/plugin-transform-runtime@^7.5.0", "@babel/plugin-transform-runtime@^7.7.6":
1260+
"@babel/plugin-transform-runtime@^7.5.0", "@babel/plugin-transform-runtime@^7.7.6", "@babel/plugin-transform-runtime@^7.9.0":
12611261
version "7.9.0"
12621262
resolved "https://registry.yarnpkg.com/@babel/plugin-transform-runtime/-/plugin-transform-runtime-7.9.0.tgz#45468c0ae74cc13204e1d3b1f4ce6ee83258af0b"
12631263
integrity sha512-pUu9VSf3kI1OqbWINQ7MaugnitRss1z533436waNXp+0N3ur3zfut37sXiQMxkuCF4VUjwZucen/quskCh7NHw==

0 commit comments

Comments
 (0)