add @babel/preset-react

This commit is contained in:
Hans Pagel 2021-02-26 02:40:22 +01:00
parent c84176c064
commit 6305e865a7
2 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,7 @@
module.exports = { module.exports = {
presets: [ presets: [
'@babel/preset-env', '@babel/preset-env',
'@babel/preset-react',
], ],
plugins: [ plugins: [
'@babel/plugin-proposal-nullish-coalescing-operator', '@babel/plugin-proposal-nullish-coalescing-operator',

View File

@ -29,6 +29,7 @@
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13", "@babel/plugin-proposal-nullish-coalescing-operator": "^7.12.13",
"@babel/plugin-proposal-optional-chaining": "^7.12.17", "@babel/plugin-proposal-optional-chaining": "^7.12.17",
"@babel/preset-env": "^7.12.17", "@babel/preset-env": "^7.12.17",
"@babel/preset-react": "^7.12.13",
"@lerna/batch-packages": "^3.16.0", "@lerna/batch-packages": "^3.16.0",
"@lerna/filter-packages": "^3.18.0", "@lerna/filter-packages": "^3.18.0",
"@lerna/project": "^3.21.0", "@lerna/project": "^3.21.0",