uchicago-library / library_website

The University of Chicago Library Website
5 stars 5 forks source link

Remove gulp dependency #762

Open vitorgomateus opened 2 months ago

vitorgomateus commented 2 months ago

This issue was raised in this discussion https://github.com/uchicago-library/library_website/pull/761.

Issue

loop and lib do not have the same method to compress SCSS files.

Possible solution

This can be done by adding {% compress css %} to base\templates\base\intranet_base.html. This might break the CSS slightly at first, as some recent changes were made to the output CSS directly. Note: With the current compress settings, CSS files cannot be included within the tag.

Extra

It would be nice to have gulp or an alternative method to compress SCSS during development.