Hi, I have a doubt. Can you help me please. Why do you create another folder to folders that starts with underscore?. Ex: to folder _jade create another folder .jade (empty) and the folder _jade
.pipe(rename(function (file) {
if (answers.license === 'MIT') {
var mit = file.basename.replace('LICENSE_MIT', 'LICENSE');
file.basename = mit;
} else {
var bsd = file.basename.replace('LICENSE_BSD', 'LICENSE');
file.basename = bsd;
}
if (file.basename[0] === '_') {
file.basename = '.' + file.basename.slice(1);
}
}))
Hi, I have a doubt. Can you help me please. Why do you create another folder to folders that starts with underscore?. Ex: to folder _jade create another folder .jade (empty) and the folder _jade