Skip to content

Use compilation instead of this in ChunkModuleIdRangePlugin - #6954

Merged
sokra merged 3 commits into
masterfrom
fix/ChunkModuleIdRangePlugin
Apr 12, 2018
Merged

sokra merged 3 commits into
masterfrom
fix/ChunkModuleIdRangePlugin

Conversation

@ooflorent

@ooflorent ooflorent commented Apr 4, 2018 •

Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

bugfix

Did you add tests for your changes?

yes

If relevant, link to documentation update:

N/A

Summary

Because of the arrow function this was no longer referencing the compilation which was a bug. Since there is no test or documentation about this plugin, I don't know to create a good test case for this. Is this plugin still relevant?

Does this PR introduce a breaking change?

no

@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 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

TODO tests

@webpack-bot

Copy link
Copy Markdown
Contributor

@ooflorent Thanks for your update.

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

@sokra Please review the new changes.

@ooflorent

ooflorent commented Apr 12, 2018 •

Copy link
Copy Markdown
Contributor Author

@sokra I've fixed other bugs in ChunkModuleIdRangePlugin and added integration tests.

@sokra

sokra commented Apr 12, 2018

Copy link
Copy Markdown
Member

Thanks for fixing it

@sokra
sokra merged commit 0e88e8a into master Apr 12, 2018
@sokra

sokra commented Apr 12, 2018

Copy link
Copy Markdown
Member

Thanks

@sokra
sokra deleted the fix/ChunkModuleIdRangePlugin branch April 12, 2018 09:41
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.

3 participants