Skip to content
This repository was archived by the owner on Oct 9, 2020. It is now read-only.

[fix] don't transform webpack2 query objects #44

Merged
merged 1 commit into from
Dec 15, 2016

Conversation

kinetifex
Copy link
Contributor

Webpack2 supports query objects which are returned by parseQuery, not a new object instance.
https://github.com/webpack/loader-utils/blob/master/index.js#L68
Because of this, we shouldn't transform the parseQuery result directly which is what this PR addresses.

@sairion sairion merged commit c2baa5e into webpack-contrib:master Dec 15, 2016
@sairion
Copy link
Collaborator

sairion commented Dec 15, 2016

Thanks!

@kinetifex
Copy link
Contributor Author

Thank you! Can you please publish this?

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

Successfully merging this pull request may close these issues.

3 participants