Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Gulp sass question Reply To: Gulp sass question

#242658
MattDiMu
Participant

No, you still need to import the partials or at least that’s what you probably want.

The Gulp-Task will transform all *.scss-files, but ignore files starting with “_”. The reason behind this is, that you don’t want all your scss-files to be transformed alone (and therefore create the same amount of css-files), but one (or maybe two) css-file, which contain everything.

Furthermore you’ve probably structured your scss over different files (mixins, variables being used in different files, etc.) and without your @importstatements they won’t know anything of each other.

tldr: no, you still need to import your partials.