Files
next-app-template/next.config.mjs
renovate[bot] 161eea40d5 Update Next.js to 16 (#43)
* Update all dependencies to v16

* Update to Next.js 16

* Remove eslint from build

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Vitaly Rtishchev <rtivital@gmail.com>
2025-10-26 10:41:40 +03:00

13 lines
299 B
JavaScript

import bundleAnalyzer from '@next/bundle-analyzer';
const withBundleAnalyzer = bundleAnalyzer({
enabled: process.env.ANALYZE === 'true',
});
export default withBundleAnalyzer({
reactStrictMode: false,
experimental: {
optimizePackageImports: ['@mantine/core', '@mantine/hooks'],
},
});