Open Manitej66 opened 1 year ago
I believe you can use svgo in the browser without this package, svgo added this feature a while back
Thanks for the prompt reply!
I did try using the bundled browser version of the svgo package but for some reason it’s not working with nextjs. I’m getting random page load errors. Probably due to SWC maybe.
Tried importing like below:
import { optimize } from 'svgo/dist/svgo.browser.js'
it haven’t thrown any errors but when using the optimize function, my app was getting stuck and not working at all.
Well, then you can try your luck with the svgo-browser then – there are not much difference between the svgo 1 and 3 anyway.
Thanks for the amazing repo! we need this package in our app, i'm just worried if the svgo used here is too old?
P.S: we use mantine at work! kudos!