Closed lyleunderwood closed 3 months ago
I have an idea what could be wrong. I'll be back with more info.
Probably related/connected to #1329 1329
Check 0.7.8
, hope it fixed everything related to imports/build/install.
I had some auto-import references like:
import { Button } from 'flowbite-react/lib/esm/components/Button';
which no longer resolved in 0.7.8
, just had to update them and now everything seems to work fine :+1:
Steps to reproduce
Current behavior
Typescript type exports seem busted in 0.7.6
Expected behavior
No errors, like in 0.7.5
Context
I have an up-to-date nextjs / typescript project using
flowbite-react
, and upon upgrading to 0.7.6, all of my imports started having typescript errors. Some examples:I'm pretty sure that every single import from
flowbite-react
errors. Rolling back to 0.7.5 resolves the issue. I assume this is related to the monorepo transition in 0.7.6.