-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
We are using webpacker (via the command line) to build sass assets. This is disabled in production And developers are using either rake update:ui or webpack --watch So no need to include this in our dev chain.
- Loading branch information
Showing
3 changed files
with
2 additions
and
14 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
Rails.application.config.assets.paths << ManageIQ::UI::Classic::Engine.root.join('node_modules') | ||
|
||
Rails.application.config.assets.precompile << proc do |filename, path| | ||
path =~ %r{app/assets} && !%w(.js .css).include?(File.extname(filename)) | ||
path =~ %r{app/assets} && !%w(.js .css .sass).include?(File.extname(filename)) | ||
end |
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