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.
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:
Or alternately, you could just allow several buckets to have the same name but different regexes, aka:
Hope this makes sense as to why it would be useful.