AstroJS collections are not accessible inside tailwind.config
file
#11831
Labels
needs triage
Issue needs to be triaged
tailwind.config
file
#11831
Astro Info
If this issue only occurs in one browser, which browser is a problem?
No response
Describe the Bug
I cannot use Astro collections inside the
tailwind.config
file, since the module "astro:content" is not definedWhat's the expected result?
Use a collection inside the
tailwind.config
file, since I have a collection with colors definitions and want to build custom Tailwind colors dynamically based on themLink to Minimal Reproducible Example
https://stackblitz.com/edit/withastro-astro-1yjmkk?file=tailwind.config.mjs
Participation
The text was updated successfully, but these errors were encountered: