Skip to content

Allow a specific path or paths under ignore_paths? #30

@ajbogh

Description

@ajbogh

Is there a way to allow a specific path, such as /vendor/assets/javascripts/myCustomPath/, to be annotated while preventing the system from processing any other files under /vendor/?

In the documentation and code it looks like the ignore_paths option completely overrides paths.

It would be nice if this were more of a glob pattern system like Javascript uses. For example, the following will exclude all of vendorexcept it could include certain assets:

config.ng_annotate.paths = [
    '!/vendor/**/*', 
    '/vendor/assets/javascripts/myCustomPath/**/*'
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions