The swcMinify key was a configuration property in your next.config.js file.
Here's what it was for and why it's no longer needed:
swcMinify for?
The swcMinify flag was used to enable minification using the Next.js SWC (Speedy Web Compiler). SWC is a Rust-based platform that provides significantly faster compilation and minification compared to traditional JavaScript-based tools like Terser.swcMinify configuration property was changed from false to true by default 12. This meant that if you were upgrading from an older version (like Next.js 12) where it might have been false, you would see this flag in your next.config.js to explicitly enable or disable SWC-based minification. While it defaulted to true in Next.js 13, it still existed as a configurable option.next.config.js. The swcMinify flag has been removed entirely 3. Therefore, when you migrate to Next.js 15, if this key is still present in your next.config.js, it will throw an error because it's no longer a recognized configuration option. You should remove it from your next.config.js file.