You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
431 B
25 lines
431 B
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
module.exports = {
|
|
env: {
|
|
commitTag: process.env.COMMIT_TAG || 'local',
|
|
},
|
|
images: {
|
|
domains: ['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,
|
|
},
|
|
};
|