diff --git a/core/settings.py b/core/settings.py index 50aa09a..8526e0d 100644 --- a/core/settings.py +++ b/core/settings.py @@ -247,6 +247,7 @@ STATICFILES_FINDERS = ( # region SASS Compression COMPRESS_ENABLED = True +COMPRESS_OFFLINE = not env("DEBUG") COMPRESS_PRECOMPILERS = [("text/x-scss", "django_libsass.SassCompiler")] COMPRESS_CSS_FILTERS = ["compressor.filters.css_default.CssAbsoluteIdentifier"] LIBSASS_ADDITIONAL_INCLUDE_PATHS = [str(BASE_DIR / "static/bootstrap-5.3.3/scss")]