mirror of
https://github.com/seerr-team/seerr.git
synced 2026-06-02 13:20:22 -04:00
31 lines
619 B
TypeScript
31 lines
619 B
TypeScript
import type { NextConfig } from 'next';
|
|
|
|
const nextConfig: NextConfig = {
|
|
env: {
|
|
commitTag: process.env.COMMIT_TAG || 'local',
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{ hostname: 'gravatar.com' },
|
|
{ hostname: 'image.tmdb.org' },
|
|
{ hostname: 'artworks.thetvdb.com' },
|
|
{ hostname: 'plex.tv' },
|
|
],
|
|
},
|
|
transpilePackages: ['country-flag-icons'],
|
|
turbopack: {
|
|
rules: {
|
|
'*.svg': {
|
|
loaders: ['@svgr/webpack'],
|
|
as: '*.js',
|
|
},
|
|
},
|
|
},
|
|
experimental: {
|
|
scrollRestoration: true,
|
|
largePageDataBytes: 512 * 1000,
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|