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: addon-storysource has no managerEntry, but defines a register and preset #20304

Merged
merged 2 commits into from
Dec 16, 2022

Conversation

ndelangen
Copy link
Member

I was running on Ian's branch, and ran into a problem where the managerEntry exported something, therefore breaking the try, catch wrapping.

So I investigated a bit, and noticed this weird register thing, AND the managerEntry also being defined in preset. Changing it seemed to help.

@ndelangen ndelangen self-assigned this Dec 16, 2022
@ndelangen ndelangen requested a review from a team December 16, 2022 10:40
@ndelangen ndelangen changed the title Fix/addon-storysource Fix: addon-storysource has no managerEntry, but defines a register and preset Dec 16, 2022
@ndelangen
Copy link
Member Author

It does highlight the importance of managerEntries not exporting anything.

If they do the whole thing explodes. That might be a reason to look for an alternative solution, or a method via which we ensure to strip out exports via esbuild plugin or setting.

@ndelangen ndelangen merged commit 1bac7bb into next Dec 16, 2022
@ndelangen ndelangen deleted the fix/addon-storysource branch December 16, 2022 11:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants