mirror of
https://github.com/jellyfin/jellyfin-web.git
synced 2025-09-10 22:43:50 +02:00
Fix @tanstack/query-devtools on legacy browsers
This commit is contained in:
@@ -230,6 +230,23 @@ const config = {
|
||||
}
|
||||
}]
|
||||
},
|
||||
// Strict EcmaScript modules require additional flags
|
||||
{
|
||||
test: /\.(js|jsx|mjs)$/,
|
||||
include: [
|
||||
path.resolve(__dirname, 'node_modules/@tanstack/query-devtools')
|
||||
],
|
||||
resolve: {
|
||||
fullySpecified: false
|
||||
},
|
||||
use: [{
|
||||
loader: 'babel-loader',
|
||||
options: {
|
||||
cacheCompression: false,
|
||||
cacheDirectory: true
|
||||
}
|
||||
}]
|
||||
},
|
||||
{
|
||||
test: /\.worker\.ts$/,
|
||||
exclude: /node_modules/,
|
||||
|
||||
Reference in New Issue
Block a user