mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-27 08:10:34 +00:00
30 lines
648 B
JavaScript
30 lines
648 B
JavaScript
module.exports = {
|
|
babelrcRoots: [
|
|
// Keep the root as a root
|
|
'.'
|
|
],
|
|
sourceType: 'unambiguous',
|
|
presets: [
|
|
[
|
|
'@babel/preset-env',
|
|
{
|
|
useBuiltIns: 'usage',
|
|
corejs: 3
|
|
}
|
|
],
|
|
'@babel/preset-react',
|
|
[
|
|
'@babel/preset-typescript',
|
|
{
|
|
isTSX: true,
|
|
allExtensions: true
|
|
}
|
|
]
|
|
],
|
|
plugins: [
|
|
'@babel/plugin-proposal-class-properties',
|
|
'@babel/plugin-proposal-private-methods',
|
|
'babel-plugin-dynamic-import-polyfill'
|
|
]
|
|
};
|