Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix export in "Usage" code blocks #7

Merged
merged 1 commit into from
Jan 9, 2024
Merged

Conversation

rileyjshaw
Copy link
Contributor

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.

The example configuration objects on [svgo.dev](https://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
Copy link
Member

Thanks for spotting the issue and submitting a patch!

@SethFalco SethFalco merged commit 6a572fa into svg:main Jan 9, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants