Skip to content

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

@wszydlak

Description

@wszydlak
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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    pFad - Phonifier reborn

    Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

    Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


    Alternative Proxies:

    Alternative Proxy

    pFad Proxy

    pFad v3 Proxy

    pFad v4 Proxy