mirror of
https://github.com/AdguardTeam/AdGuardHome.git
synced 2024-11-24 14:05:45 +03:00
14 lines
517 B
JavaScript
Vendored
14 lines
517 B
JavaScript
Vendored
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',
|
|
],
|
|
};
|
|
};
|