CONSILE:Webpack is configured while Turbopack is not, which may cause problems.
Turn off the turbopack
next.config.mjs
/** @type {import('next').NextConfig} */
const nextConfig = {
webpack: (config) => {
config.module.rules.push({
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack'],
});
return config;
},
};
export default nextConfig