Not able to exclude node_modules folder
See original GitHub issueI run the following command on an Angular2 project:
typedoc --experimentalDecorators --target 'es5' --module 'commonjs' --externalPattern node_modules --excludeExternals --ignoreCompilerErrors --out docs/ web/
I am apparently not able to properly exclude the node_modules folder from the documentation. Whatever I do, the node_modules packages get documented. This is the folder structure /web _ _/app _ _/assets _ _/e2e _ _/node_modules _ _/typings
I tried using exclude and externalPattern + excludeExternals. I tried many combinations of patterns, but apparently I am doing it wrong. I tried values like this: node_modules /node_modules/ node_modules/** node_modules/*/.ts etc.
I would be very grateful if someone pointed out my mistake and made a couple of examples how the patterns should be defined?
Issue Analytics
- State:
- Created 7 years ago
- Reactions:8
- Comments:8
Add:
"skipLibCheck": true
to tsconfig.json compilerOptions.I used
"externalPattern": "**/node_modules/**",
or"exclude": "**/node_modules/**"
in my typedoc.json (I can’t remember which)