Earlier today @_beneverard tweeted about a common problem with managing style guides. He said:
For those who have created extensive pattern libraries, how do you go about using that CSS in a project? Manually copy it across?
I started thinking about how we could encourage this in Pattern Lab. A lot of my recent work on PL has revolved around creating packages for Composer and it seemed like this was a similar problem. After playing around I'm curious if folks would think the following process was an onerous workflow. Let's say we're going to track our styles and grunt/gulp uses
public/styles/ as a target directory:
- Delete all files under
- Commit the deletion
- Create a new repo just for your production styles