As a newcomer to gulp, I am curious about the feasibility of achieving my desired outcome.
Here is the structure of my projects:
root
|
components
| |
| component_1
| | styles.scss
| | actions.js
| | template.html
| | ...
| component_2
| | styles.scss
| | template.html
| | ...
|
public
|
assets
|
css (destination)
| component_1.css
| component_2.css
| ...
js (destination)
My goal is for Gulp to save the compiled css files in the corresponding css folder within public/assets, but to use the name of the folder where it found the scss file. Is this achievable? Would I need to utilize a plugin for this task? Thank you! P.S. I understand renaming the scss file could achieve the same result, but I prefer to avoid that route.