Django_compressor error with Sass. Unable to import @import files

I am trying to use Sass to compile a style.scss file using django_compressor.

I found that Sass works on the command line if I am in the css directory, but if I am in any other directory, it creates the same error as below.

Caught FilterError while rendering: Syntax error: File to import not found or unreadable: helpers.scss Load path: . on line 28 of d:\siphon\siphon\static\css\style.scss 

How can I fix this error?

+4
source share
1 answer

take a look at compass . It compiles your sass into css, and only then you get a compressor to do the job.

0
source

All Articles