Skip to content

Allow array of regex, or multiple buckets with the same name but different regex #1

@scottmas

Description

@scottmas

Thank you SO much for writing this plugin. I was baffled when I discovered the common chunks plugin didn't allow for functionality like this. But this plugin works beautifully, even in conjunction with common chunks.

A feature request though, allow users to pass an array of regexes, not just a regex, aka:

    regex: [/jquery/, /backbone/]

Or alternately, you could just allow several buckets to have the same name but different regexes, aka:

    buckets: [{
        name: 'vendor',
         regex: /backbone/
    },
    {
         name: 'vendor',
         regex: /jquery/
    }]

Hope this makes sense as to why it would be useful.

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