/** @type {import('next').NextConfig} */ const nextConfig = { reactStrictMode: true, swcMinify: true, webpack(config) { config.module.rules.push({ test: /\.svg$/i, issuer: /\.[jt]sx?$/, use: [ { loader: "@svgr/webpack", options: { throwIfNamespace: false, }, }, ], }); return config; }, }; module.exports = nextConfig;