Skip to content

Supporting __dirname wildcards #297

@guybedford

Description

@guybedford

Consider for example:

fs.readFileSync(__dirname + './languages/' + lang  + '.js');

we can in this scenario know that this corresponds to an asset of the form ./languages/*.js and emit assets based on this wildcard.

This would support eg unfluff as detailed in #216 (comment).

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestpriorityImportant issue or pull request to fast-track

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions