Answer the question
In order to leave comments, you need to log in
How to replace imports with code in Scss file?
It is necessary to make another scss file from one scss file, in which there are a lot of imports, in which all imports are replaced by the code that they include.
I am importing whole scss files, I need to make a new file with pure code, no imports. Maybe some gulp plugin?
Answer the question
In order to leave comments, you need to log in
Export file:
@mixin font-h1 {
color: #333;
font-size: 60px;
font-weight: 600;
line-height: 1.4;
}
h1 {
@include font-h1;
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question