svg / svgo

⚙️ Node.js tool for optimizing SVG files
https://svgo.dev/
MIT License
21.04k stars 1.39k forks source link

chore: consistent rollup config between browser and cjs #1938

Closed SethFalco closed 10 months ago

SethFalco commented 10 months ago

Following the conversation in https://github.com/svg/svgo/pull/1905#discussion_r1443637021, opting to use the same options for both the browser and CJS module. I've also made some small adjustments to the options to reduce the bundle sizes without significant impacting the ability to debug errors.

I may look into this more later, particularly to see if we should enable source maps, for now, we can leave it at this.