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.
Fixes #6.
The upstream issue (https://github.com/uiwjs/react-color/issues/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.