mastodon-glitch/config/webpack/rules/material_icons.js

15 lines
255 B
JavaScript

module.exports = {
test: /\.svg$/,
include: [/node_modules\/@material-symbols/, /svg-icons/],
issuer: /\.[jt]sx?$/,
use: [
{
loader: '@svgr/webpack',
options: {
svgo: false,
titleProp: true,
},
},
],
};