jpkleemans/vite-svg-loader

style tag are gone

Closed this issue · 2 comments

If svg file contains style tag.
There will only render defs tag without style tag.

This plugin should have more options such as prefixIds.

Hi, all styles should be added inline. You can use SVGO to convert your SVG's

There are options to preserve the styling. See #56 (comment)