jellyfin-web/babel.config.js

30 lines
648 B
JavaScript
Raw Normal View History

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