jellyfin-web/babel.config.js

30 lines
648 B
JavaScript
Raw Normal View History

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