FP-1648: Build Individual Stylesheets — ⚠️ API Change #23
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
Allow consuming and/or building* individual stylesheets.
Build all stylesheets and commit
dist/
directory (for Portal).Let clients (and this repo itself now) build individual files (theirs, ours, both).*
* CMS is the only client app that does, and is expected to, build its styles via the Core-Styles build command.
Related
Changes
Top of diff and bottom of diff have the most relevant changes. In between is all
dist/
.--file-ext
--input
/--ouput
not--input-dir
/--output-dir
.gitignore
Testing
npm run build
.source/_imports/
.dist/tools/
stylesheets have either class selectors (.bob
) or functional selectors (%bob
), not both.npm run test
(builds output of plugin tests).dist/_tests/
.Screenshots
N/A