I've noticed that when I compile my Angular project using Tailwind CSS, I sometimes receive the message "No utility classes were detected in your source files," and other times it builds without any warnings but the utilities are still missing. This issue appeared suddenly, even though the project was built successfully many times before with all the utilities working fine. Strangely, the base Tailwind reset styles are being applied, but the utilities are not.
Also, I want to point out that the classes I manually create in the styles using @apply are functioning correctly.
Here is a snippet from my tailwind.config.js file:
content: ["./src/**/*.{xml,ts}"],
And this is the command I use for building the project:
ng build --output-path dist
In my styles.css file, I have included the following:
@tailwind base;
@tailwind components;
@tailwind utilities;