Created
March 20, 2017 02:16
-
-
Save hirejohnsalcedo/fe80de22459d9d12bd7a291addabad4a to your computer and use it in GitHub Desktop.
rename filename to foldername+index.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.pipe(rename((path) => { | |
path.dirname += "/" + path.basename; | |
path.basename = "index"; | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment