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:
@@ -13,9 +13,6 @@ const nextConfig = {
|
||||
webpackBuildWorker: true,
|
||||
},
|
||||
|
||||
// Use SWC minifier (faster than Terser)
|
||||
swcMinify: true,
|
||||
|
||||
// Webpack optimizations
|
||||
webpack: (config, { dev, isServer }) => {
|
||||
if (!dev) {
|
||||
|
||||
Reference in New Issue
Block a user