Module not found: Error: Can't resolve '@svgr/webpack' in '/vercel/path0'

Viewed 1124

I was deploying my next js website using vercel. But it stucks here. Help me out plz.

Below is my next.js.config

module.exports = {
    webpack(config) {
        config.module.rules.push({
            test: /\.svg$/,
            use: ["@svgr/webpack"]
        });

        return config;
    },
};

0 Answers
Related