Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

styleProcessor: ext param is an array #87

Open
dherges opened this issue Jun 23, 2017 · 1 comment
Open

styleProcessor: ext param is an array #87

dherges opened this issue Jun 23, 2017 · 1 comment

Comments

@dherges
Copy link

dherges commented Jun 23, 2017

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.

@ludohenin
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants