Answer the question
In order to leave comments, you need to log in
How to merge sass files without using @import?
Good afternoon!
I need to remove all imports from sass files on assignment and have them built automatically.
For this I found require.context
function importAll (r) {
return r.keys().map(r);
}
importAll (require.context ('./', true, /\.js$|scss$/));
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