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

fix(chunksorter): webpack2 compatible #569

Merged
merged 1 commit into from
Jan 29, 2017

Conversation

hekike
Copy link
Contributor

@hekike hekike commented Jan 29, 2017

  • webpack2 compatible chunksortet

chunk.parents are insurance of Chunk instead of string id(s):

This PR supports both webpack1 and webpack2.

Some example from webpack:
https://github.com/webpack/webpack/blob/b07dc3da275402d7128c06d762e840f25b31c54c/lib/optimize/CommonsChunkPlugin.js#L165
https://github.com/webpack/webpack/blob/028c51301733836abbedc88be7483af2623f5943/lib/Chunk.js#L141

@hekike hekike force-pushed the fix/webpack2-chunksorter branch from bcd9fba to 9a54f25 Compare January 29, 2017 09:54
@jantimon jantimon merged commit 9d7aa21 into jantimon:master Jan 29, 2017
jantimon pushed a commit that referenced this pull request Jan 29, 2017
@lock
Copy link

lock bot commented May 31, 2018

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators May 31, 2018
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.

2 participants