Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] template and style sources should not be added to output when disableSourceCode option is used #1370

Closed
wszydlak opened this issue Aug 9, 2023 · 1 comment
Assignees

Comments

@wszydlak
Copy link

wszydlak commented Aug 9, 2023

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.

@wszydlak
Copy link
Author

@vogloblinsky when can we expect new version that will contain this fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants