gulp-inline-ng2-template icon indicating copy to clipboard operation
gulp-inline-ng2-template copied to clipboard

styleProcessor: ext param is an array

Open dherges opened this issue 7 years ago • 1 comments

First, this is a question:

styleProcessor: function (path, ext, file, callback) {/* ... */},

The param ext is an array since it comes from this regex

Is this intended?

Personally, I found this a bit counter-intuitive, since one file has one file extension - that's how path.basename() works.

If it's intended, I think it should be added to the docs / README.

dherges avatar Jun 23 '17 05:06 dherges

No this is not intended. Would you please make a PR for the same ?

ludohenin avatar Dec 16 '17 18:12 ludohenin