-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Create `dartsass.builds` initializer and add all Sass files to be compiled. See https://github.com/rails/dartsass-rails#configuring-builds - Create .keep - Update manifest file to use /builds directory - Ignore /builds Co-Authored-By: Martin Jones <[email protected]>
- Loading branch information
1 parent
85cad13
commit 9c70320
Showing
4 changed files
with
11 additions
and
5 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,9 +1,5 @@ | ||
//= link_tree ../images | ||
//= link application.js | ||
//= link test-dependencies.js | ||
//= link application-ie8.css | ||
//= link application-print.css | ||
//= link application.css | ||
//= link guides-print.css | ||
//= link print.css | ||
//= link modules/base-target.js | ||
//= link_tree ../builds |
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,8 @@ | ||
# config/initializers/dartsass.rb | ||
Rails.application.config.dartsass.builds = { | ||
"application-ie8.scss" => "application-ie8.css", | ||
"application-print.scss" => "application-print.css", | ||
"application.scss" => "application.css", | ||
"guides-print.scss" => "guides-print.css", | ||
"print.scss" => "print.css", | ||
} |