pakholeung37 / vite-plugin-vue2-svg

load SVG files as Vue components, for Vue2.x only.
MIT License
19 stars 9 forks source link

Any way to disable svgo by default? #2

Open Antimated opened 2 years ago

Antimated commented 2 years ago

LIke the title says. I would like to have the option to import svgs but without a svgo config (I like to tweak my svg's by hand)

pakholeung37 commented 2 years ago

No way now. Working on it.

pakholeung37 commented 2 years ago

@Antimated You can use ?raw to ignore this plugin. Like import svg from 'example.svg?raw'