🚑 ES module dependencies

This commit is contained in:
Manuel
2023-06-07 21:11:32 +02:00
parent 6b01cf4efc
commit 69927dfcab
5 changed files with 21 additions and 17 deletions

17
next.config.mjs Normal file
View File

@@ -0,0 +1,17 @@
const { i18n } = await import('./next-i18next.config.js');
const { default: configreBundleAnalyser } = await import('@next/bundle-analyzer');
const withBundleAnalyzer = configreBundleAnalyser({
enabled: process.env.ANALYZE === 'true',
});
export default withBundleAnalyzer({
images: {
domains: ['cdn.jsdelivr.net'],
},
reactStrictMode: true,
output: 'standalone',
i18n,
transpilePackages: ['@jellyfin/sdk'],
});