Open wesleyboar opened 4 months ago
/dist
During Release, and As Neededdist
files by default (use .gitignore
).dist
files on release.
(Publish step runs a script that runs git add dist
.)dist
files when client must test compiled CSS for incomplete feature.
(Dev manually runs git add dist/components/c-some-thing.css
.)
Goal
Design a solution to offer compiled and minified stylesheets without committing
dist/
to the repository.Background
The repository has a
/dist
folder. This folder provides compilation of stylesheets using non-native CSS (that is made native viapostcss
) and minifies the CSS (for smaller file size).To build and commit
/dist
is:Expectations
src/lib/_imports/
components/c-some-thing.css
is compiled todist/
components/c-some-thing.css
.References