/** @type {import('next').NextConfig} */
const nextConfig = {
poweredByHeader: false,
optimizeFonts: false,
webpack: (config, options) => {
config.module.rules.push({
test: /\.svg$/i,
use: [
{
loader: '@svgr/webpack',
options: {
icon: true,
prettier: true,
svgo: true,
titleProp: true,
ref: true,
},
},
],
})
return config
},
}
ref: true,
*/
module.exports = nextConfig