mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-29 13:11:10 +08:00
Add gitignore
This commit is contained in:
1 parent
31e478f28d
commit
83d47bddd8
1 file changed
+3
@@ -111,6 +111,9 @@ module.exports = generator.Base.extend({
|
||||
if(fs.lstatSync(fullPath).isDirectory()) {
|
||||
this.bulkDirectory(item, item);
|
||||
} else {
|
||||
if (item === '.npmignore') {
|
||||
this.copy(item, '.gitignore');
|
||||
}
|
||||
this.copy(item, item);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user