fix
This commit is contained in:
parent
fa9a4ebba2
commit
4186ae490d
@ -52,6 +52,12 @@ async function run (folder, args) {
|
||||
path.join (snip_folder, 'package.json'),
|
||||
JSON.stringify (package_json, null, 2)
|
||||
);
|
||||
|
||||
await fs.writeFile (
|
||||
path.join (snip_folder, '.gitignore'),
|
||||
`/node_modules/
|
||||
/dist/`
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
|
2
snippets/node/template/.gitignore
vendored
2
snippets/node/template/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
/node_modules/
|
||||
/dist/
|
Loading…
x
Reference in New Issue
Block a user