boopathi/react-svg-loader

Compatibility with Preact

alex996 opened this issue · 2 comments

Any chance to make this package compatible with Preact? Specially, I'm asking about rollup-plugin-react-svg, but this could also extend to babel-plugin-react-svg.

Currently, the plugin tries to resolve react, which is hard-coded. Perhaps, it could expose an option to configure preact and its h pragma instead?

Thanks!

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.