From d1e5ab9e07416ff9b87b65a3d9327b7f91581b20 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Mon, 12 Jul 2021 20:25:24 -0700 Subject: [PATCH] Fix next config. --- next.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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'], });