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) { webpack(config) {
config.module.rules.push({ config.module.rules.push({
test: /\.svg$/, test: /\.svg$/,
issuer: { issuer: /\.js$/,
test: /\.js$/,
},
use: ['@svgr/webpack'], use: ['@svgr/webpack'],
}); });