deprank icon indicating copy to clipboard operation
deprank copied to clipboard

how to exclude dist/ .next/ folders

Open ThaddeusJiang opened this issue 2 years ago • 1 comments

ThaddeusJiang avatar Jan 13 '23 08:01 ThaddeusJiang

deprank assumes that your source files live in a separate folder, e.g.

dist
 |- index.js
 |- foo.js
src
  |- index.ts
  |- foo.ts

I'm assuming you have something like:

dist
  |- index.js
  |- foo.ts
index.ts
foo.ts

?

If so this is not currently supported, but I'd be happy to accept a PR which adds a --ignore ./dist --ignore .next CLI option

phpnode avatar Jan 17 '23 09:01 phpnode