This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
mastodon/config/webpack/rules/material_icons.js

14 lines
220 B
JavaScript
Raw Normal View History

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