boopathi/react-svg-loader

SVGO plugins except removeTitle don't seem to work

iy3r opened this issue · 1 comments

iy3r commented

How are the SVGO options passed?

I've tried the following two approaches, but both don't seem to work for any property other than removeTitle:

{ loader: 'react-svg-loader', options: { jsx: true, svgo: { plugins: [{ removeTitle: true, removeDesc: true }], floatPrecision: 2, }, }, }

and

{ loader: 'react-svg-loader', options: { jsx: true, svgo: { plugins: [{ removeTitle: true }, { removeDesc: true }], floatPrecision: 2, }, }, }

stale commented

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.