Closed rileyjshaw closed 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.
module.export
module.exports
This commit updates module.export to module.exports.
Thanks for spotting the issue and submitting a patch!
The example configuration objects on svgo.dev assign to
module.export
, instead of the standardmodule.exports
. Copying the example usage as-is causes the configuration to be silently ignored.This commit updates
module.export
tomodule.exports
.