uiwjs / react-color

🎨 Is a tiny color picker widget component for React apps.
https://uiwjs.github.io/react-color
MIT License
291 stars 96 forks source link

[color-convert] Circular dependencies error #137

Closed piotrkulpinski closed 9 months ago

piotrkulpinski commented 9 months ago

Hi,

I'm trying to bundle a project using @uiw/color-convert package, but I get the Circular dependencies error.

(!) Circular dependencies
node_modules/@uiw/color-convert/esm/index.js -> node_modules/@uiw/color-convert/esm/utils.js -> node_modules/@uiw/color-convert/esm/index.js
node_modules/@uiw/color-convert/esm/index.js -> node_modules/@uiw/color-convert/esm/getContrastingColor.js -> node_modules/@uiw/color-convert/esm/index.js

Anyone had any issue like that? Trying to find out if it's a bug or am I doing something wrong. Thanks

jaywcjlove commented 9 months ago

@piotrkulpinski You can try v2.0.5 to see if the problem is solved.

piotrkulpinski commented 9 months ago

@jaywcjlove This seems to be fixing this issue! Thanks.