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

Include next/dist/pages instead of exclude (patch) #3704

Merged
merged 8 commits into from Feb 6, 2018

Conversation

timneutkens
Copy link
Member

@timneutkens timneutkens commented Feb 6, 2018

Fixes #3533

What happened is that the default _error.js and _document.js were externalized.
We didn't run into this while developing because in that case next is linked to a directory that doesn't include node_modules.

This is not an issue with now or locally because then we build on the machine that executes it. But environments like Heroku build on a different machine than execution.

@timneutkens timneutkens changed the title Fixes #3533 Include next/dist/pages instead of exclude Feb 6, 2018
@timneutkens timneutkens changed the title Include next/dist/pages instead of exclude Include next/dist/pages instead of exclude (patch) Feb 6, 2018
@arunoda
Copy link
Contributor

arunoda commented Feb 6, 2018

Looks good to me.

@arunoda arunoda merged commit f9b52cf into vercel:canary Feb 6, 2018
@timneutkens timneutkens deleted the fix/external-pages branch February 6, 2018 12:38
@lock lock bot locked as resolved and limited conversation to collaborators Feb 6, 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.

None yet

3 participants