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

strip-ext doesn't work when called after path-reduce #12

Closed
mparpaillon opened this issue May 16, 2015 · 4 comments
Closed

strip-ext doesn't work when called after path-reduce #12

mparpaillon opened this issue May 16, 2015 · 4 comments

Comments

@mparpaillon
Copy link

This works (extensions are stripped)

var stuff = require('../stuff/*.js', {
    mode: 'hash',
    resolve: [ 'strip-ext', 'path-reduce' ]
});

This doesn't

var stuff = require('../stuff/*.js', {
    mode: 'hash',
    resolve: [ 'path-reduce', 'strip-ext' ]
});
@call-a3
Copy link
Collaborator

call-a3 commented May 18, 2015

Could you elaborate on the output you would expect vs the output you are getting?

@mparpaillon
Copy link
Author

I expect the filename without the extension... That's what strip-ext is supposed to do, right ?

@call-a3
Copy link
Collaborator

call-a3 commented May 18, 2015

Yes, that is right.

However, to more accurately debug this I'd like a literal example of input, actual output and expected output. That way, I can also turn it into a test case and ensure no regressions occur at a later point.
Sorry if I seem overly adamant about this, but it is with the best intentions for both our sakes.

@call-a3
Copy link
Collaborator

call-a3 commented May 20, 2015

Investigating this because it is related to bug #13

@call-a3 call-a3 reopened this May 20, 2015
call-a3 added a commit that referenced this issue May 20, 2015
@call-a3 call-a3 closed this as completed May 20, 2015
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