mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2024-11-15 09:58:18 -07: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'
|
|
]
|
|
};
|