jellyfin-web/babel.config.js

23 lines
494 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
],
2023-03-15 04:50:02 -07:00
'@babel/preset-react'
2020-12-03 14:49:37 -07:00
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-private-methods',
'babel-plugin-dynamic-import-polyfill'
]
};