chore(babel): use plugin-transform-runtime

This commit is contained in:
moklick
2022-08-18 17:48:21 +02:00
parent ed0e88b9fe
commit 9ad31a281b
8 changed files with 34 additions and 6 deletions
+7 -1
View File
@@ -2,6 +2,12 @@ module.exports = {
presets: [
['@babel/preset-react', { runtime: 'automatic' }],
'@babel/preset-typescript',
'@babel/preset-env',
[
'@babel/preset-env',
{
modules: false,
},
],
],
plugins: ['@babel/plugin-transform-runtime'],
};