Very slow compilation when adding a css framework.

Open
#3,223 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
bootstrap, rust, tailwindcss

Research direction

Start by reproducing the reported compilation times with Tailwind and Bootstrap, then compare them with plain CSS. The issue does not identify files or tests; done means compilation after changes is substantially faster for CSS-framework projects.

Written by the indexing model from the issue text.

Description

Working with plain good ol' CSS without any frameworks is blazingly fast, like a 3-sec max compilation. However, things change dramatically when adding a CSS framework. For example, with Tailwind, I am getting around 1-2 minutes of compile time after each change. With Bootstrap, I am getting around 2-5 minutes of compilation. So, it would be best if this thing could be Improved.

Edit: Somewhat related to #2520

Dominant language
Rust
Stars
32.8k
Forks
1.5k
Avg merge
5h 34m
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from yewstack/yew

All issues in yewstack/yew

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.