Skip to content

Do not use deprecated features of enhanced-resolve#6183

Merged
sokra merged 1 commit into
webpack:nextfrom
ooflorent:resolver_deprecations
Dec 23, 2017
Merged

Do not use deprecated features of enhanced-resolve#6183
sokra merged 1 commit into
webpack:nextfrom
ooflorent:resolver_deprecations

Conversation

@ooflorent
Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

refactoring

Did you add tests for your changes?

no

If relevant, link to documentation update:

n/a

Summary

This PR addresses some deprecations of enhanced-resolve. Thus the tests are less verbose.

  • First argument of Resolver#doResolve is now a Hook
  • Fourth argument of Resolver#resolve is now resolveContext. callback is the fifth.

Does this PR introduce a breaking change?

- First argument of `Resolver#doResolve` is now a Hook
- Fourth argument of `Resolver#resolve` is now `resolveContext`. `callback` is the fifth.
@ooflorent ooflorent force-pushed the resolver_deprecations branch from 1976567 to 202e399 Compare December 22, 2017 18:55
@webpack-bot
Copy link
Copy Markdown
Contributor

Thank you for your pull request! The most important CI builds succeeded, we’ll review the pull request soon.

@sokra sokra merged commit 48a9af1 into webpack:next Dec 23, 2017
@sokra
Copy link
Copy Markdown
Member

sokra commented Dec 23, 2017

Thanks

@ooflorent ooflorent deleted the resolver_deprecations branch December 25, 2017 17:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants