Merge .ignore files, including comments
npm install ignorefile-mergeMerge .ignore files, including comments
``console`
npm install ignorefile-merge
`typescript
import { merge } from 'ignorefile-merge';
const left =
;const right =
;/*
Result "ignore" content will be:
dotenv
.env.development.local
.env.production.localcache
.cacheOutput of 'npm pack'
*.tgzcache
.cache!ignorefile-merge block-open
---------------------------------------------------------------
This block generated automatically
@see https://www.npmjs.com/package/ignorefile-merge
---------------------------------------------------------------
dotenv
.env.development.local
.env.production.local
.env.test.localOutput of 'npm pack'
*.tgzcache
.cache
!ignorefile-merge block-close
*/
const result = merge(left, right);
``standard-shared-config - Easy way to create and share your boilerplate configs. One shared config to rule them all:loop::package: