chore(babel): use plugin-transform-runtime
This commit is contained in:
+7
-1
@@ -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'],
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user