Skip to content

Fix: Error while loading configs with custom plugins#805

Merged
sindresorhus merged 2 commits intoxojs:mainfrom
som-sm:fix/custom-plugin
May 30, 2025
Merged

Fix: Error while loading configs with custom plugins#805
sindresorhus merged 2 commits intoxojs:mainfrom
som-sm:fix/custom-plugin

Conversation

@som-sm
Copy link
Copy Markdown
Contributor

@som-sm som-sm commented May 30, 2025

Because of the structureClone introduced in #802, configs with custom plugins fail to load, since custom plugins have functions in them.

This PR removes the use of structureClone and replaces it with the approach mentioned in this comment.

@sindresorhus sindresorhus merged commit 32960d3 into xojs:main May 30, 2025
3 checks 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