Skip to content

Excluding files from message extraction is under-documented (ignore) #124

@rbu

Description

@rbu

I was trying to exclude a folder from message extraction through an ignore rule in the mapping file, and ended up having to read the source code to find out how to do it. Some of the questions that are not answered in the documentation are:

  • How to specify the ignore filter (A: [ignore: something/**.txt])
  • How does Babel evaluate the priority in the mapping? (A: By first match, so ignore rules need to be listed first)
  • What is the path that is matched against? (A: The file path without the package name, see Message extraction mapping does not match against package name #125)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions