Ant Design Components Turning Black in Production After Next.js Build with Tailwind CS
When developing a Next.js site with Tailwind CSS and Ant Design, I encountered an unusual issue after building the site for production. All components from Ant Design, which appeared as expected during development, had their colors changed to black in production. For example, input fields that were white during development turned black in the production build.