We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a30e0ac + 391bd4a commit 2d45781Copy full SHA for 2d45781
index.js
@@ -13,7 +13,7 @@ function plugin(keepQuantity) {
13
return through.obj(function (file, enc, cb) {
14
var regex = new RegExp('^(.*)-[0-9a-f]{8}(?:\\.min)?\\' + path.extname(file.path) + '$');
15
if (regex.test(file.path)) {
16
- var identifier = regex.exec(file.path)[1];
+ var identifier = regex.exec(file.path)[1] + path.extname(file.path);
17
if (lists[identifier] === undefined) {
18
lists[identifier] = [];
19
}
0 commit comments