Questions tagged [gulp-folders]

gulp-folder plugin to loop over the folders and treat them as bundle names

Use it if you have structure like

folder1
   file1.js
   file2.js
folder2
   file3.js
   file4.js

and want to have those bundles as output:

folder1.js
folder2.js

https://github.com/hakubo/gulp-folders

4 questions
2
votes
2 answers

Gulp: How to read folder name?

I'm refactoring my Gulp build process so the user does not have to enter V=1.2.88 etc. Rather I would like the user to just type major gulp build, minor gulp build or patch gulp build. Which would then of course iterate the version number. For this…
Leon Gaban
  • 36,509
  • 115
  • 332
  • 529
1
vote
1 answer

Gulp call sub modules

There is a parent folder (gulp module) which has some child folders (gulp modules too). I want to run the default gulp task of each child through the gulpfile of the parent. My approach was to iterate through the folders by using gulp-folders and…
Darkmiller
  • 50
  • 7
0
votes
0 answers

Gulp dest at same level src

i am trying do make a gulp task to compile a lot of modules at same time. My paths are... packages/module1/src/file.js packages/module2/src/file.js packages/module2/src/sufolder/subfile.js What i need to acomplish wirh gulp…
Felipe Deitos
  • 164
  • 1
  • 1
  • 11
0
votes
1 answer

Gulp generates dynamic filenames

I'm trying to resolve my issue a week. I want to achieve, that gulp generates scss files to css with scss`s parent folder names. The structure is : assets |____css | | example1.css | | example2.css | | example3.css | …