2020-12-04 00:49:37 +03:00
|
|
|
module.exports = {
|
|
|
|
babelrcRoots: [
|
|
|
|
// Keep the root as a root
|
|
|
|
'.'
|
|
|
|
],
|
2021-02-15 08:55:15 +00:00
|
|
|
sourceType: 'unambiguous',
|
2020-12-04 00:49:37 +03:00
|
|
|
presets: [
|
|
|
|
[
|
|
|
|
'@babel/preset-env',
|
|
|
|
{
|
|
|
|
useBuiltIns: 'usage',
|
|
|
|
corejs: 3
|
|
|
|
}
|
2021-05-27 11:30:03 -04:00
|
|
|
],
|
2023-03-15 12:50:02 +01:00
|
|
|
'@babel/preset-react'
|
2020-12-04 00:49:37 +03:00
|
|
|
],
|
|
|
|
plugins: [
|
|
|
|
'@babel/plugin-proposal-class-properties',
|
|
|
|
'@babel/plugin-proposal-private-methods',
|
|
|
|
'babel-plugin-dynamic-import-polyfill'
|
|
|
|
]
|
|
|
|
};
|