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

hook into dependency reference #7585

Merged
merged 5 commits into from
Jun 29, 2018
Merged

Conversation

sokra
Copy link
Member

@sokra sokra commented Jun 23, 2018

add Compilation.getDependencyReference and hooks to override it

What kind of change does this PR introduce?
refactoring, feature

Did you add tests for your changes?
yes

Does this PR introduce a breaking change?
no

What needs to be documented once your changes are merged?
New hook Compilation.hooks.dependencyReference(depRef, dependency, module) was added.
it allows to change the references reported by dependencies

@webpack-bot
Copy link
Contributor

webpack-bot commented Jun 23, 2018

For maintainers only:

  • This need to be documented (issue in webpack/webpack.js.org will be filed when merged)

@sokra sokra force-pushed the feature/hook-into-get-reference branch from 13efa46 to 3502287 Compare June 23, 2018 13:14
@webpack-bot
Copy link
Contributor

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

@ooflorent ooflorent changed the title hook into depenency reference hook into dependency reference Jun 25, 2018
@webpack-bot
Copy link
Contributor

@sokra Thanks for your update.

I labeled the Pull Request so reviewers will review it again.

@ooflorent Please review the new changes.

@webpack-bot
Copy link
Contributor

I've created an issue to document this in webpack/webpack.js.org.

@sokra sokra deleted the feature/hook-into-get-reference branch June 29, 2018 12:01
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.

None yet

4 participants