M
M
massef2015-07-10 17:50:41
css
massef, 2015-07-10 17:50:41

Gulp: Combining styles from two source folders into one production?

There are many files with styles, you need to split them into two folders like:
tpl-1/
------tpl-1-filename.scss
...
tpl-2/
------tpl-2-filename. scss
...
But the problem is that everything should be collected in one folder.
For example:
build/
------tpl-1-filename.scss
------tpl-2-filename.scss
Question:
How can I make files from the tpl-1 and tpl-2 folders be collected in the build folder?
The path to the sources in gulp.src I have the following 'src/style/**/*.scss'
So far, I see the option to split into two tasks with different paths like 'src/style/tpl-1/*.scss' and ' src/style/tpl-2/*.scss'and throw everything into one, but this option seems like a crutch.
Maybe it's possible in some other way?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question