chinwagsocial/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,
},
},
],
};