umami/next.config.js
2020-07-17 01:03:38 -07:00

16 lines
235 B
JavaScript

require('dotenv').config();
module.exports = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
issuer: {
test: /\.js$/,
},
use: ['@svgr/webpack'],
});
return config;
},
};