Skip to content

[RELEASE] Fix stale dist issue, bump to 4.0.5#121

Merged
andrewrubin merged 2 commits into
mainfrom
hotfix/remove-dist-on-build
Jun 11, 2026
Merged

[RELEASE] Fix stale dist issue, bump to 4.0.5#121
andrewrubin merged 2 commits into
mainfrom
hotfix/remove-dist-on-build

Conversation

@andrewrubin

Copy link
Copy Markdown
Member

Code review ticket: https://wethecollective.teamwork.com/app/tasks/22769488

This PR adds a prebuild script which removes the dist/ directory, ensuring that it is never a cached version in the final tarball.

This fix was made after some feedback from users that ReactCurrentDispatcher was being included in the build output, causing React versioning conflicts, despite React being only a peer dependency.

@andrewrubin andrewrubin merged commit fd9c678 into main Jun 11, 2026
2 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