Merge pull request #2009 from viviicat/sass-in-prod

add SASS_PROCESSOR_ENABLED = True
This commit is contained in:
Mouse Reeve 2022-03-13 11:31:24 -07:00 committed by GitHub
commit 9f19fb698b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,6 +188,7 @@ STATICFILES_FINDERS = [
] ]
SASS_PROCESSOR_INCLUDE_FILE_PATTERN = r"^.+\.[s]{0,1}(?:a|c)ss$" SASS_PROCESSOR_INCLUDE_FILE_PATTERN = r"^.+\.[s]{0,1}(?:a|c)ss$"
SASS_PROCESSOR_ENABLED = True
# minify css is production but not dev # minify css is production but not dev
if not DEBUG: if not DEBUG: