-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Create .keep - Update manifest file to use /builds directory - Ignore /builds & /public/assets - Add initialiser which supresses dependency deprecation warnings & imports all stylesheets from GOV.UK Publishing Components
- Loading branch information
1 parent
99e3579
commit b3af352
Showing
5 changed files
with
14 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
//= link_tree ../images | ||
//= link application.css | ||
//= link_tree ../builds | ||
//= link application.js | ||
//= link historical-edition.css |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
APP_STYLESHEETS = { | ||
"application.scss" => "application.css", | ||
"historical-edition.scss" => "historical-edition.css", | ||
}.freeze | ||
|
||
all_stylesheets = APP_STYLESHEETS.merge(GovukPublishingComponents::Config.all_stylesheets) | ||
Rails.application.config.dartsass.builds = all_stylesheets | ||
|
||
Rails.application.config.dartsass.build_options << " --quiet-deps" |