mirror of
https://github.com/agregarr/agregarr.git
synced 2026-01-25 03:48:48 -06:00
Adds new feature for Poster Overlays, create overlays in the editor under Posters -> Poster Overlays with variables and conditions, and select which libraries the overlays should apply to fix #144, re #115, re #128
33 lines
622 B
JavaScript
33 lines
622 B
JavaScript
/**
|
|
* @type {import('next').NextConfig}
|
|
*/
|
|
module.exports = {
|
|
env: {
|
|
commitTag: process.env.COMMIT_TAG || 'local',
|
|
},
|
|
images: {
|
|
domains: ['image.tmdb.org'],
|
|
},
|
|
webpack(config, { isServer }) {
|
|
config.module.rules.push({
|
|
test: /\.svg$/,
|
|
issuer: /\.(js|ts)x?$/,
|
|
use: ['@svgr/webpack'],
|
|
});
|
|
|
|
// Fix for Konva in Next.js client-side bundle
|
|
if (!isServer) {
|
|
config.resolve.fallback = {
|
|
...config.resolve.fallback,
|
|
fs: false,
|
|
};
|
|
}
|
|
|
|
return config;
|
|
},
|
|
experimental: {
|
|
scrollRestoration: true,
|
|
largePageDataBytes: 256000,
|
|
},
|
|
};
|