Updated dependencies, reintroduced bundle analyzer (#159)

This commit is contained in:
Giancarlo Buomprisco
2025-02-11 10:48:28 +07:00
committed by GitHub
parent f5a961f155
commit f2c74bd11c
25 changed files with 655 additions and 649 deletions

View File

@@ -1,3 +1,5 @@
import withBundleAnalyzer from '@next/bundle-analyzer';
const IS_PRODUCTION = process.env.NODE_ENV === 'production';
const SUPABASE_URL = process.env.NEXT_PUBLIC_SUPABASE_URL;
const ENABLE_REACT_COMPILER = process.env.ENABLE_REACT_COMPILER === 'true';
@@ -67,7 +69,9 @@ const config = {
typescript: { ignoreBuildErrors: true },
};
export default config;
export default withBundleAnalyzer({
enabled: process.env.ANALYZE === 'true',
})(config);
function getRemotePatterns() {
/** @type {import('next').NextConfig['remotePatterns']} */