diff --git a/next.config.js b/next.config.js index 761823b..f56ddfc 100644 --- a/next.config.js +++ b/next.config.js @@ -10,9 +10,13 @@ const withPWA = require('next-pwa')({ const domains = process.env.NEXT_PUBLIC_DOMAINS_IMAGE.split(' ') || 'localhost' module.exports = withPlausibleProxy()(withPWA({ - webpack: { - test: /\.svg$/, - use: ['@svgr/webpack', 'url-loader'], + webpack: config => { + config.module.rules.push({ + test: /\.svg$/, + use: ['@svgr/webpack', 'url-loader'], + }) + + return config }, swcMinify: true, images: {