1
0
Fork 0

feat(apps/web): enable nextjs experimental features

This commit is contained in:
Vojtěch Mareš 2022-10-03 09:46:00 +02:00
parent c13ad0a7a8
commit 6b40c78073
Signed by: vojtech.mares
GPG key ID: C6827B976F17240D

View file

@ -1,5 +1,13 @@
const withTM = require("next-transpile-modules")(["ui"]); const withTM = require("next-transpile-modules")(["ui"]);
module.exports = withTM({ /** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true, reactStrictMode: true,
}); swcMinify: true,
experimental: {
newNextLinkBehavior: true,
scrollRestoration: true,
},
}
module.exports = withTM(nextConfig);