svg / svgo.dev

https://svgo.dev/
MIT License
5 stars 3 forks source link

Fix export in "Usage" code blocks #7

Closed rileyjshaw closed 8 months ago

rileyjshaw commented 8 months ago

The example configuration objects on svgo.dev assign to module.export, instead of the standard module.exports. Copying the example usage as-is causes the configuration to be silently ignored.

This commit updates module.export to module.exports.

SethFalco commented 8 months ago

Thanks for spotting the issue and submitting a patch!