assets on davidchua https://dchua.com/tags/assets/ Recent content in assets on davidchua Hugo -- gohugo.io en-us Sun, 22 Dec 2013 00:00:00 +0000 Exclude individual css from assets pipeline https://dchua.com/posts/2013-12-22-exclude-individual-css-from-assets-pipeline/ Sun, 22 Dec 2013 00:00:00 +0000 https://dchua.com/posts/2013-12-22-exclude-individual-css-from-assets-pipeline/ When in the need to remove certain CSS files from your application.css’s require_tree: # application.css /* *= require_self *= require_tree . */ Use sprocket’s stub directive: # application.css /* *= require_self *= require_tree . *= stub whatevercssyoudontwanttoload[.css] */ Note: Best practice of course is to add individual stylesheets into your application.css rather than a full on require_tree .. But in the event that you require to still use require_tree, the above may help you.