Skip to content

removeComments compiler option seems to be ignored when using typescript 1.5.0-beta #3283

@milkshakeuk

Description

@milkshakeuk

Specifying the argument ($ tsc --removeComments) or option in (tsconfig.json) for removing comments is not honoured.

Normal comments are removed, but special comments, like references and amd dependencies, are preserved.

/// <reference path="../Interfaces/IView" />
/// <reference path="./BaseView" />
/// <amd-dependency path="/js/libs/hgn.js!app/templates/home" name="compiler"/>

I don't know if this new behaviour is intended but this wasn't the case in the previous release and I wouldn't expect these special comments to be required in the output files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions