A
A
alexeyzuby2018-11-18 14:55:28
Sass
alexeyzuby, 2018-11-18 14:55:28

Is there a "sass-resources-loader" equivalent for Gulp?

Is it possible to find an analogue of a plugin that does similar actions, like sass-resources-loader ?
The file structure will be divided into modules, where src will be collected by a function in the config, and therefore it will be very inconvenient to write the same imports inside each style file, and even with different levels of nesting.
Since only variables and mixins will be such global files, the Webpack plugin solved this problem perfectly. I'm only interested in working within Gulp. Everything is fine for Webpack.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alexeyzuby, 2018-11-19
@alexeyzuby

Found a solution using the gulp-insert plugin .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question