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

Throw friendly error if next app target is not set to serverless #204

Merged
merged 11 commits into from
Nov 3, 2019
Merged

Throw friendly error if next app target is not set to serverless #204

merged 11 commits into from
Nov 3, 2019

Conversation

mehowthe
Copy link
Contributor

Fixes #194

If the next.config.js target is not set to serverless the component fails while reading

.next/serverless/pages-manifest.json

I've added simple check, following convention in other functions. May save some time ;)

@danielcondemarin
Copy link
Contributor

Thank you 🙏

@danielcondemarin danielcondemarin merged commit 83c31e2 into serverless-nextjs:master Nov 3, 2019
@mehowthe mehowthe deleted the serverless-target-error branch November 14, 2019 19:15
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.

Validate next.config.js target is set to "serverless"
3 participants