Skip to content

fixed bug #362, also set chunks names - #363

Merged
arunoda merged 3 commits into
vercel:masterfrom
mr47:master
Dec 15, 2016
Merged

arunoda merged 3 commits into
vercel:masterfrom
mr47:master

Conversation

@mr47

@mr47 mr47 commented Dec 8, 2016

Copy link
Copy Markdown
Contributor

No description provided.

@coveralls

coveralls commented Dec 8, 2016 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 37.209% when pulling 2d58ab9 on mr47:master into 249a0c4 on zeit:master.

Comment thread server/build/webpack.js Outdated
name: 'commons',
filename: 'commons.js',
minChunks: pages.length
minChunks: pages.length + 1

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

what is this for ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@nkzawa we have one page, but chunks are 2 (commons + lazy modules chunk)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@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.

@coveralls

coveralls commented Dec 9, 2016 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 37.209% when pulling ccee782 on mr47:master into 249a0c4 on zeit:master.

@mr47

mr47 commented Dec 9, 2016

Copy link
Copy Markdown
Contributor Author

@arunoda added more simple way to get at least 2 chunks or pages.length because if we have one page build will be failed.

@arunoda

arunoda commented Dec 15, 2016

Copy link
Copy Markdown
Contributor

Okay. That's great.
Could you isolate only that change and remove the chunk hash related change.

I hope that you could handle with #310 yourself.

@arunoda arunoda closed this Dec 15, 2016
@arunoda arunoda reopened this Dec 15, 2016
@coveralls

coveralls commented Dec 15, 2016 •

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 37.209% when pulling ccee782 on mr47:master into 249a0c4 on zeit:master.

@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 37.209% when pulling e387731 on mr47:master into 249a0c4 on zeit:master.

1 similar comment
@coveralls

Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 37.209% when pulling e387731 on mr47:master into 249a0c4 on zeit:master.

@arunoda

arunoda commented Dec 15, 2016

Copy link
Copy Markdown
Contributor

Thanks.

@arunoda
arunoda merged commit 45e36fd into vercel:master Dec 15, 2016
@lock lock Bot locked as resolved and limited conversation to collaborators Jan 19, 2019
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.

4 participants