Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Work in progress: Make Hugo work with tailwindcss-jit #8345

Closed
wants to merge 1 commit into from

Conversation

bep
Copy link
Member

@bep bep commented Mar 18, 2021

Fixes #8343

@bep
Copy link
Member Author

bep commented Mar 18, 2021

This is very much a work in progress. Some notes:

  • This currently works on the basic level, and I have a test site where the build time goes from 3s to about 700ms, which is fine and dandy
  • But because now the "rebuild trigger" now is mostly HTML templates, we got a challenge re. when to rebuild CSS
  • That is solvable, but it would also bee cool to use the incremental build feature, which should be possible by having the PostCSS process being long-lived.

@goldcoders
Copy link

any news on this?

@imomaliev
Copy link

Maybe one way this could be solved if PostCSS would run after writeStats is completed, and we could reuse the hugo_stats.json to tell PostCSS that the change has occurred like I was trying in #8343 (comment) but in native way? I thought PostProcess would help, but it looks like writeStats runs after PostProcess

@github-actions
Copy link

This PR has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
Please check https://github.com/gohugoio/hugo/blob/master/CONTRIBUTING.md#code-contribution and verify that this code contribution fits with the description. If yes, tell is in a comment.
This PR will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@github-actions github-actions bot added the Stale label Feb 17, 2023
@github-actions github-actions bot closed this Apr 16, 2023
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Apr 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make Hugo work with tailwindcss-jit
3 participants