Skip to content

Support minimatch/globs for matching bundles #250

@matt-gadd

Description

@matt-gadd

Enhancement
The bundles part of the .dojorc allows users to granularly define what modules go into what bundles. To specify them they provide a bundlename, and a number of exact paths to modules. This is powerful but verbose in some scenario's (ie trying to bundle all french nls bundles to one bundle would require listing all thefr nls modules across your application). To make this a little easier we could trivially add support minimatch in the bundles list like so:

"bundles": {
  "fr": "src/**/nls/fr/**"
}

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