79138638

Date: 2024-10-29 19:17:51
Score: 3
Natty:
Report link

It turns out my code was fine, it was the package/vite/tsconfig settings. I found a library (mui-color-input) that used vite and also responded appropriately to dark/light theme settings. Then I compared that line by line with what I had, and made changes accordingly. I believe there was still a dependency conflict even though I had @mui in the peer dependencies. The index.d.ts was also no getting written to dist.

Reasons:
  • No code block (0.5):
  • User mentioned (1): @mui
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: antjo