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