Fix next config.

This commit is contained in:
Mike Cao 2021-07-12 20:25:24 -07:00
parent 324d31cfcc
commit d1e5ab9e07

View File

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