If a directory is ignored, all its contents are also automatically ignored.
Useful if your project has a large directory that does not contain OurBigBook sources, and you don't want OurBigBook to mess with it.
Only ignores recursive conversions, e.g. given:
"ignore": [ "web" ]
skips that directory, but
converts it because it was explicitly requested.
- ignore all files with a given extension;
Yes, it is a bit obnoxious to have to escape
"ignore": [ ".*\\.tmp", ]
.and the backslash. We should use some proper globbing library like: github.com/isaacs/node-glob. But on the other hand ignore from
.gitignoremakes this mostly useless, as
.gitignorewill be used most of the time.
TODO: also ignore during