Skip to content

Fix Tailwind CLI example of the input.css file#551

Open
ronnybremer wants to merge 1 commit intoDioxusLabs:mainfrom
ronnybremer:ronnybremer-patch-1
Open

Fix Tailwind CLI example of the input.css file#551
ronnybremer wants to merge 1 commit intoDioxusLabs:mainfrom
ronnybremer:ronnybremer-patch-1

Conversation

@ronnybremer
Copy link

Running the Tailwind CLI as outlined in the current file can lead to extreme memory usage of npx, as every subdirectory of the project dir is watched for changes.

According to https://tailwindcss.com/docs/detecting-classes-in-source-files#setting-your-base-path the proposed sample only includes files from the src/ subdirectory of the project, mitigating the issue.

Running the Tailwind CLI as outlined in the current file can lead to extreme memory usage of npx, as every subdirectory of the project dir is watched for changes.
According to https://tailwindcss.com/docs/detecting-classes-in-source-files#setting-your-base-path the proposed sample only includes files from the `src/` subdirectory of the project, mitigating the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant