diff --git a/next.config.js b/next.config.js index 57fc563..eebefd5 100644 --- a/next.config.js +++ b/next.config.js @@ -8,6 +8,10 @@ const withPWA = require('next-pwa')({ const domains = process.env.NEXT_PUBLIC_DOMAINS_IMAGE.split(' ') || 'localhost' module.exports = withPWA({ + webpack: { + test: /\.svg$/, + use: ['@svgr/webpack', 'url-loader'], + }, swcMinify: true, images: { domains