mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-21 20:45:33 +03:00
15 lines
517 B
JavaScript
15 lines
517 B
JavaScript
|
module.exports = (api) => {
|
||
|
api.cache(false);
|
||
|
return {
|
||
|
presets: ['@babel/preset-env', '@babel/preset-typescript', '@babel/preset-react'],
|
||
|
plugins: [
|
||
|
'@babel/plugin-transform-runtime',
|
||
|
'@babel/plugin-transform-class-properties',
|
||
|
'@babel/plugin-transform-object-rest-spread',
|
||
|
'@babel/plugin-transform-nullish-coalescing-operator',
|
||
|
'@babel/plugin-transform-optional-chaining',
|
||
|
'react-hot-loader/babel',
|
||
|
],
|
||
|
};
|
||
|
};
|