INNER CODE UNIT · TypeScript
createGitIgnore
maciejtreder/ng-toolkit · schematics/_utils/index.ts:14
export function createGitIgnore(dirName: string): Rule {
return (tree: Tree) => {
createOrOverwriteFile(tree, `./${dirName}/.gitignore`, outdent`
/node_modules/
/dist/
/lib/
/yarn.lock
*.log
.idea
.serverless
*.iml
*.js.map
*.d.ts
.DS_Store
dll
.awcache
/src/styles/main.css
/firebug-lite