Consider this which checks for JS files in either of two specific locations:
gulp.src( "@(Branch|Main)/*.js" ).pipe( _do-stuff_ )
How does one get which folder was matched (Main or Branch) for the current file(s)?
Consider this which checks for JS files in either of two specific locations:
gulp.src( "@(Branch|Main)/*.js" ).pipe( _do-stuff_ )
How does one get which folder was matched (Main or Branch) for the current file(s)?
Copyright © 2021 Jogjafile Inc.