Skip to content

Feature Request - add option to formatjs CLI that includes contextual information for warning/errors #6428

@ZLJasonG

Description

@ZLJasonG

It would be useful if the CLI would provide the file & line for extraction issues, currently it only give the error with no additional information to track down the source. This could be behind a flag to avoid changing current behaviour though it feels useful enough that it should probably default to on.

[@formatjs/cli] [WARN] [FormatJS] id must be a string literal to be extracted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions