TinyColor: tinycolor is not a function

I just upgraded tinycolor@1.5.0 and code like this:

const tinycolor = require('tinycolor2');
tinycolor(color)

It comes tinycolor is not a function error, plz take a look.

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 39 (26 by maintainers)

Commits related to this issue

Most upvoted comments

alright, i will create demo and send you tomorrow to keep looking into. It’s too late here:)