mirror of
https://github.com/mantinedev/next-app-template.git
synced 2025-11-09 20:12:02 +10:00
* 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>
13 lines
299 B
JavaScript
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'],
|
|
},
|
|
});
|