Files
jellyseerr/next.config.js
2024-11-07 13:16:36 +01:00

28 lines
501 B
JavaScript

/**
* @type {import('next').NextConfig}
*/
module.exports = {
env: {
commitTag: process.env.COMMIT_TAG || 'local',
},
images: {
remotePatterns: [
{ hostname: 'gravatar.com' },
{ hostname: 'image.tmdb.org' },
],
},
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
issuer: /\.(js|ts)x?$/,
use: ['@svgr/webpack'],
});
return config;
},
experimental: {
scrollRestoration: true,
largePageDataBytes: 256000,
},
};