Skip to content

Commit

Permalink
chore: updated babel configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybaev committed Aug 17, 2021
1 parent 06da400 commit 26eee1e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
7 changes: 3 additions & 4 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,11 @@ module.exports = {
[
'@babel/preset-env',
{
targets: {
node: 'current',
},
useBuiltIns: 'usage',
corejs: { version: 3, proposals: true },
},
],
'@babel/preset-typescript',
'@babel/preset-react'
'@babel/preset-react',
],
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"@typescript-eslint/parser": "^4.29.1",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3",
"babel-jest": "^27.0.6",
"core-js": "^3.16.1",
"cssnano": "^5.0.7",
"enzyme": "^3.11.0",
"eslint": "^7.0.0",
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2834,6 +2834,11 @@ core-js-pure@^3.16.0:
resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.16.1.tgz#b997df2669c957a5b29f06e95813a171f993592e"
integrity sha512-TyofCdMzx0KMhi84mVRS8rL1XsRk2SPUNz2azmth53iRN0/08Uim9fdhQTaZTG1LqaXHYVci4RDHka6WrXfnvg==

core-js@^3.16.1:
version "3.16.1"
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.16.1.tgz#f4485ce5c9f3c6a7cb18fa80488e08d362097249"
integrity sha512-AAkP8i35EbefU+JddyWi12AWE9f2N/qr/pwnDtWz4nyUIBGMJPX99ANFFRSw6FefM374lDujdtLDyhN2A/btHw==

[email protected], core-util-is@~1.0.0:
version "1.0.2"
resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7"
Expand Down

0 comments on commit 26eee1e

Please sign in to comment.