mastodon/config/webpack/rules/material_icons.js
2023-11-24 14:46:36 +01:00

15 lines
238 B
JavaScript

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