Remove bundle analyzer (incompatible with Turbopack)
- Removed @next/bundle-analyzer package - Removed build:analyze script - Cleaned up next.config.mjs The Next Bundle Analyzer is not compatible with Turbopack builds yet. Since this project uses Turbopack, the analyzer cannot be used. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
import bundleAnalyzer from '@next/bundle-analyzer';
|
||||
|
||||
const withBundleAnalyzer = bundleAnalyzer({
|
||||
enabled: process.env.ANALYZE === 'true',
|
||||
});
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
// Image optimization configuration
|
||||
@@ -41,4 +35,4 @@ const nextConfig = {
|
||||
},
|
||||
};
|
||||
|
||||
export default withBundleAnalyzer(nextConfig);
|
||||
export default nextConfig;
|
||||
|
||||
Reference in New Issue
Block a user