Fix next config.

pull/728/head
Mike Cao 2021-07-12 20:25:24 -07:00
parent 324d31cfcc
commit d1e5ab9e07
1 changed files with 1 additions and 3 deletions

View File

@ -10,9 +10,7 @@ module.exports = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
issuer: {
test: /\.js$/,
},
issuer: /\.js$/,
use: ['@svgr/webpack'],
});