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:
2025-11-20 22:35:46 +08:00
parent d6edcf1757
commit d42cb46af8
3 changed files with 1 additions and 202 deletions

View File

@@ -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;