Skip to content

fix: add safe traverse to loaderoptionsplugin - #77

Merged
pksjce merged 2 commits into
webpack:masterfrom
kalcifer:traverse-fix
Mar 1, 2017
Merged

fix: add safe traverse to loaderoptionsplugin#77
pksjce merged 2 commits into
webpack:masterfrom
kalcifer:traverse-fix

Conversation

@pksjce

@pksjce pksjce commented Feb 28, 2017

Copy link
Copy Markdown

What kind of change does this PR introduce?
Bugfix

Did you add tests for your changes?

If relevant, did you update the documentation?

Summary
Solves #76, #69

Other information

@pksjce
pksjce requested a review from okonet February 28, 2017 14:03

@okonet okonet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we add tests specific to this case please?

Otherwise LGTM! :shipit:

@pksjce

pksjce commented Feb 28, 2017

Copy link
Copy Markdown
Author

Good idea. Added one. The test case throws undefined error without the fix.

@okonet okonet left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

:shipit:

@pksjce
pksjce merged commit 4020043 into webpack:master Mar 1, 2017
@pksjce
pksjce deleted the traverse-fix branch March 1, 2017 11:52
evenstensberg pushed a commit that referenced this pull request Mar 4, 2017
* fix: add safe traverse to loaderoptionsplugin

* test: write a failing test case
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

Successfully merging this pull request may close these issues.

2 participants