catstodon/config/webpack/rules/material_icons.js
Eugen Rochko 134de736dc
Change icons in web UI (#27385)
Co-authored-by: Renaud Chaput <renchap@gmail.com>
2023-10-24 17:45:08 +00:00

14 lines
240 B
JavaScript

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