diff --git a/lib/parser.js b/lib/parser.js index 13d541a..ea8c4f5 100644 --- a/lib/parser.js +++ b/lib/parser.js @@ -14,7 +14,7 @@ function Parser(tasks, config, file) { } util.inherits(Parser, Transform); -var REGEX_BEGIN = //i; +var REGEX_BEGIN = //i; var REGEX_END = //i; Parser.prototype._transform = function (chunk, enc, done) { diff --git a/test/stream.js b/test/stream.js index e409e98..829d842 100644 --- a/test/stream.js +++ b/test/stream.js @@ -85,6 +85,14 @@ describe('Stream mode', function () { compare(es.readArray(fixture), expected, stream, done); }); + it('should work with path style task-name`s', function (done) { + var fixture = ['
']; + var expected = ''; + + var stream = plugin({'path/to/index.css': 'path/to/index-324e23e23.css'}); + compare(es.readArray(fixture), expected, stream, done); + }); + describe('Options', function () { describe('keepUnassigned', function () {