mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2025-09-10 22:43:50 +02:00
Add TypeScript support for React components
This commit is contained in:
@@ -12,7 +12,14 @@ module.exports = {
|
||||
corejs: 3
|
||||
}
|
||||
],
|
||||
'@babel/preset-react'
|
||||
'@babel/preset-react',
|
||||
[
|
||||
'@babel/preset-typescript',
|
||||
{
|
||||
isTSX: true,
|
||||
allExtensions: true
|
||||
}
|
||||
]
|
||||
],
|
||||
plugins: [
|
||||
'@babel/plugin-proposal-class-properties',
|
||||
|
||||
Reference in New Issue
Block a user