Compile scss files with django compressor
This commit is contained in:
parent
d372cd9bf2
commit
2d5365d2a8
7 changed files with 9 additions and 17 deletions
|
@ -265,5 +265,8 @@ SOCIALACCOUNT_ADAPTER = "schickmacher.users.adapters.SocialAccountAdapter"
|
|||
# https://django-compressor.readthedocs.io/en/latest/quickstart/#installation
|
||||
INSTALLED_APPS += ["compressor"]
|
||||
STATICFILES_FINDERS += ["compressor.finders.CompressorFinder"]
|
||||
COMPRESS_PRECOMPILERS = (
|
||||
('text/x-scss', 'sassc {infile} {outfile}'),
|
||||
)
|
||||
# Your stuff...
|
||||
# ------------------------------------------------------------------------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue