Updated babel packages and extracted babel config

This commit is contained in:
Alejandro Celaya
2022-03-07 14:21:09 +01:00
parent fc71c0f5c8
commit 31f1d5b530
5 changed files with 681 additions and 359 deletions

15
babel.config.js Normal file
View File

@@ -0,0 +1,15 @@
module.exports = {
presets: [
[
'react-app',
{
runtime: 'automatic',
typescript: true,
},
],
],
plugins: [
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-nullish-coalescing-operator',
],
};