Repository navigation
fixed bug #362, also set chunks names - #363
Merged
Merged
Conversation
nkzawa
reviewed
Dec 8, 2016
| name: 'commons', | ||
| filename: 'commons.js', | ||
| minChunks: pages.length | ||
| minChunks: pages.length + 1 |
Contributor
Author
There was a problem hiding this comment.
@nkzawa we have one page, but chunks are 2 (commons + lazy modules chunk)
Contributor
There was a problem hiding this comment.
This is not for that. We put this as the number of pages because, if something is common to all pages, it will move to the commons.js
Contributor
Author
There was a problem hiding this comment.
@arunoda you are right, but for out goal need get at least 2 chunks so require.ensure start working properly. I'll add a simple check for it.
Contributor
Author
|
@arunoda added more simple way to get at least 2 chunks or |
Contributor
|
Okay. That's great. I hope that you could handle with #310 yourself. |
1 similar comment
Contributor
|
Thanks. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.