mirror of
https://github.com/fallenbagel/jellyseerr.git
synced 2025-12-24 02:39:18 -05:00
32 lines
652 B
JavaScript
32 lines
652 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
module.exports = {
|
|
env: {
|
|
commitTag: process.env.COMMIT_TAG || 'local',
|
|
},
|
|
images: {
|
|
remotePatterns: [
|
|
{ hostname: 'gravatar.com' },
|
|
{ hostname: 'image.tmdb.org' },
|
|
{ hostname: 'artworks.thetvdb.com' },
|
|
{ hostname: 'plex.tv' },
|
|
{ hostname: 'archive.org' },
|
|
{ hostname: 'r2.theaudiodb.com' },
|
|
],
|
|
},
|
|
webpack(config) {
|
|
config.module.rules.push({
|
|
test: /\.svg$/,
|
|
issuer: /\.(js|ts)x?$/,
|
|
use: ['@svgr/webpack'],
|
|
});
|
|
|
|
return config;
|
|
},
|
|
experimental: {
|
|
scrollRestoration: true,
|
|
largePageDataBytes: 256000,
|
|
},
|
|
};
|