umami/next.config.js

16 lines
235 B
JavaScript
Raw Normal View History

2020-07-17 10:03:38 +02:00
require('dotenv').config();
module.exports = {
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
issuer: {
test: /\.js$/,
},
use: ['@svgr/webpack'],
});
return config;
},
};