Babel enable allowDeclareFields setting

This commit is contained in:
Michael Telatynski 2023-03-07 18:04:18 +00:00
parent 5ae88eb30b
commit a550341663
No known key found for this signature in database
GPG key ID: 98BC6A2B829297FE

View file

@ -12,7 +12,7 @@ module.exports = {
], ],
}, },
], ],
"@babel/preset-typescript", ["@babel/preset-typescript", { allowDeclareFields: true }],
"@babel/preset-react", "@babel/preset-react",
], ],
plugins: [ plugins: [