diff --git a/next.config.js b/next.config.js index 10d91d36..894db681 100644 --- a/next.config.js +++ b/next.config.js @@ -10,9 +10,7 @@ module.exports = { webpack(config) { config.module.rules.push({ test: /\.svg$/, - issuer: { - test: /\.js$/, - }, + issuer: /\.js$/, use: ['@svgr/webpack'], });