🐛 Fix i18n not loading properly due to ES module config extension (#1029)

This commit is contained in:
Manuel
2023-06-09 22:47:54 +02:00
committed by GitHub
parent a307287d36
commit 7da3ba5981
5 changed files with 27 additions and 20 deletions

15
next.config.js Normal file
View File

@@ -0,0 +1,15 @@
const { i18n } = require('./next-i18next.config');
const withBundleAnalyzer = require('@next/bundle-analyzer')({
enabled: process.env.ANALYZE === 'true',
});
module.exports = withBundleAnalyzer({
images: {
domains: ['cdn.jsdelivr.net'],
},
reactStrictMode: true,
output: 'standalone',
i18n,
transpilePackages: ['@jellyfin/sdk'],
});