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: upgrade @uiw/react-color and import dist #7

Merged
merged 1 commit into from
Feb 24, 2024
Merged

fix: upgrade @uiw/react-color and import dist #7

merged 1 commit into from
Feb 24, 2024

Conversation

dangreaves
Copy link
Contributor

Fixes #6.

The upstream issue (uiwjs/react-color#104) with the @uiw/react-color package has been fixed.

It's now possible to import @uiw/react-color in a CommonJS environment without issue.

Updating the importing to the proper dist import in this package, fixes #6, and allows this plugin to work in Sanity CLI environments, which are not capable of building from source.

Copy link
Member

@AlyssaKirstine AlyssaKirstine left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dangreaves Appreciate you fixing this! 🙌

@AlyssaKirstine AlyssaKirstine merged commit 34201c6 into cositehq:main Feb 24, 2024
1 check passed
@dangreaves dangreaves deleted the react-color-export branch February 24, 2024 05:00
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.

sanity document / schema validation fails
2 participants