Add category icons as customizable svgs

This commit is contained in:
Gabe Kangas
2022-05-17 21:20:27 -07:00
parent 0d5d89a1c8
commit 0bf1c7ce48
14 changed files with 804 additions and 7 deletions
+9
View File
@@ -2,6 +2,15 @@ const withLess = require('next-with-less');
module.exports = withLess({
trailingSlash: true,
webpack(config) {
config.module.rules.push({
test: /\.svg$/i,
issuer: /\.[jt]sx?$/,
use: ['@svgr/webpack'],
});
return config;
},
async rewrites() {
return [
{