feat(apps/web): enable nextjs experimental features
This commit is contained in:
parent
c13ad0a7a8
commit
6b40c78073
1 changed files with 10 additions and 2 deletions
|
|
@ -1,5 +1,13 @@
|
|||
const withTM = require("next-transpile-modules")(["ui"]);
|
||||
|
||||
module.exports = withTM({
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
reactStrictMode: true,
|
||||
});
|
||||
swcMinify: true,
|
||||
experimental: {
|
||||
newNextLinkBehavior: true,
|
||||
scrollRestoration: true,
|
||||
},
|
||||
}
|
||||
|
||||
module.exports = withTM(nextConfig);
|
||||
|
|
|
|||
Reference in a new issue