Commit 94294c3
committed
Prune orphaned CSS artifacts before building
Renamed or removed components left behind generated .css files with no
.pcss source (e.g. open_project/skeleton_box, open_project/tree_view).
export-css-selectors globbed all .css and mapped the stale selectors
into static/classes.json, leaving the working tree dirty after a build.
Adds a prune step at the start of build_css that deletes the generated
.css/.css.map/.css.json artifacts before regenerating from the current
.pcss sources. All such artifacts are gitignored and regenerable.1 parent 98c3106 commit 94294c3
1 file changed
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
6 | 11 | | |
7 | 12 | | |
8 | 13 | | |
| |||
0 commit comments