refactor: enable scroll restoration in Next.js configuration

This commit is contained in:
Marco Pedone 2025-11-27 13:38:18 +01:00
parent 1fea33c6eb
commit d6908bc27e

View file

@ -25,6 +25,7 @@ async function createNextConfig(): Promise<NextConfig> {
removeConsole: false,
},
experimental: {
scrollRestoration: true,
// esmExternals: "loose", // This if react-pdf gives compilation issues
},
generateBuildId: async () => buildId,