S
S
svilkov872017-01-31 20:06:28
Sass
svilkov87, 2017-01-31 20:06:28

Why doesn't sass work without a semicolon?

Good afternoon!
The project is done using Sass.
The problem is that the .sass file does not compile to css.
Gulp complains about the lack of a semicolon, although the .sass syntax does not provide for this:
860c4c71913c4e469e68a27a6d34cb2d.jpg
fragment when the main main.sass file:
a90adb1229714a27b196a6e3a719b279.jpg
project structure (I don’t know if you need it):
94975a506899455fabf4d2c5a3f9eb94.jpg
imported _variables.sass file:
ebff2cec97b1440cbb9b81f6c828695e.jpg
and the sass task itself in gulp:
967d5af616a847febea02b5bbf2b53e6.jpg
Thanks .

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Bobylev, 2017-01-31
@dpigo

There is a suspicion that the autoprefixer that you are trying to feed the sass file to before compilation gives an error. Try to hang error handlers on each of the tasks and see who exactly swears.

E
Egor Zhivagin, 2017-02-01
@Krasnodar_etc

I write for myself @import "название и путь в кавычках" ;and everything is fine.
If I remember correctly, the font names are also in quotes

M
Maxim Kirshin, 2020-07-21
@meowto16

Try swapping pipe autoprefixer and pipe sass

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question