Remove deprecated swcMinify option from Next.js 15+ config

- SWC is now the default minifier in Next.js 15+
- Removes configuration warning during builds
- Maintains all other build optimizations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-09-24 08:27:08 +00:00
parent 6c3943ffa3
commit b0dd6c1a4b

View File

@@ -13,9 +13,6 @@ const nextConfig = {
webpackBuildWorker: true, webpackBuildWorker: true,
}, },
// Use SWC minifier (faster than Terser)
swcMinify: true,
// Webpack optimizations // Webpack optimizations
webpack: (config, { dev, isServer }) => { webpack: (config, { dev, isServer }) => {
if (!dev) { if (!dev) {