Skip to content

Use a plain object instead of a top-level function #9

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

Merged
merged 1 commit into from
May 1, 2020
Merged

Use a plain object instead of a top-level function #9

merged 1 commit into from
May 1, 2020

Conversation

ehmicky
Copy link
Contributor

@ehmicky ehmicky commented May 1, 2020

Plugins can be top-level functions, but this can simplified to a plain object instead in this plugin's case.

@ehmicky ehmicky mentioned this pull request May 1, 2020
23 tasks
@swyxio swyxio merged commit 6f34422 into netlify-labs:master May 1, 2020
@ehmicky ehmicky deleted the chore/remove-top-level-function branch May 1, 2020 15:11
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