Skip to content

Suggesting adding node_modules to Tailwind configuration slowing down application #1286

@leerob

Description

@leerob

Hey! I work at Vercel. We've seen quite a few reports now in the Next.js repo related to performance with Flowbite. After investigating, the root issue was recommending folks to add node_modules to their Tailwind content configuration.

CleanShot 2024-03-01 at 07 42 06@2x

This can have severe unexpected results. For example, it could run the user's PostCSS configuration over many unexpected files, causing lengthy slowdowns.

Have you also considered any other options?

Metadata

Metadata

Assignees

Labels

🐛 bugSomething isn't working🚀 enhancementNew feature or requestconfirmedThis bug was confirmed

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions