-
Notifications
You must be signed in to change notification settings - Fork 16
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
Prevent plugin from breaking when no object is passed #17
Comments
Good idea. Feel free to open a PR, I will merge it. |
I tested it with an empty settings object
it worked as expected, the fallback values are used. Can you describe your problem a bit further? |
Yeah, I meant prevent it from breaking when you pass absolutely nothing to the plugin. Right now it breaks because it tries to destructure |
Fixed in v3.0.0 |
This would be a matter of providing an empty object as fallback.
Can open a PR with the changes if you want.
The text was updated successfully, but these errors were encountered: