oddbird / accoutrement

Combined Sass Accoutrement tools, with option for individual module imports
MIT License
37 stars 6 forks source link

Remove docs from repo #109

Closed jgerigmeyer closed 2 years ago

jgerigmeyer commented 2 years ago

I'm trying this out on True as well, and if it works well I'd like to port this change over to our other tools. The idea is to git-ignore any built files (especially docs/), but then to build them only as part of the release phase so that they are included in the npm package -- which is what we currently rely on to publish them to OddSite (unless we want to change that: https://trello.com/c/3ln0ndeQ).

jgerigmeyer commented 2 years ago

I assume npm doesn't respect gitignore? Lgtm

@mirisuzanne That's correct:

Files included with the "package.json#files" field cannot be excluded through .npmignore or .gitignore.

You can also test locally with yarn pack.