Overview of the issue
When you use JSON output with disableSourceCode option only TS sources are not saved in json, HTML (templates, and CSS are still saved in json under templateData and styleUrlsData fields.
It was already reported in comment: #785 (comment) but with no answer.
Operating System, Node.js, npm, compodoc version(s)
MacOs, others probably also (didn't check), Node.js LTS, compodoc 1.1.21 (latest), npm@9
Angular configuration, a package.json file in the root folder
No matter
Compodoc installed globally or locally ?
If possible sourcecode of the file where it breaks
If possible your terminal logs before the error
Motivation for or Use Case
Reproduce the error
Related issues
Suggest a Fix
If disableSourceCode option is used, no sources should be saved in json file.
Or eventually when passing disableStyleTab or disableTemplateTab.