Answer the question
In order to leave comments, you need to log in
Is there a way to separate the import of styl preprocessor files?
Good evening everyone.
In general, the assembler collects all .styl files into one css file,
that is, I have the import('../blocks/**/*')
command in the main styl file. Did
I decide? that I will do different styles for individual pages and I, as it were, need to separate them.
I have created a new local.styl
file
and put files in the name of which contains the letter l (example page-bg.l.styl)
through the command import('../blocks/**/*l.styl')
My question is whether it is possible to import styles in the main file that do not include the letter l in the name, an
explanation
can be written something like
import(['../blocks/**/*', '!../block/**/*l .stl'])
or everything except .l.styl I
just don't want to rename all the files in the project because of a couple of local files.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question