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

Use path.join() when specifying output directory #178

Merged
merged 1 commit into from
Aug 27, 2017

Conversation

pdehaan
Copy link
Contributor

@pdehaan pdehaan commented Aug 14, 2017

What kind of change does this PR introduce?
Always use path.resolve() when writing the output.path.

Did you add tests for your changes?
Nope.

If relevant, did you update the documentation?
Nope.

Summary

Previously, using the default value of "dist" would correctly use path.resolve() when specifying an output path, whereas specifying a custom path would use that path directly without path.resolve(). This PR should make it more consistent. 🤞

Does this PR introduce a breaking change?

Nope.

Other information

Fixes #177

@jsf-clabot
Copy link

jsf-clabot commented Aug 14, 2017

CLA assistant check
All committers have signed the CLA.

Copy link
Member

@evenstensberg evenstensberg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks 💙

@TheLarkInn TheLarkInn merged commit eab9337 into webpack:master Aug 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants