Skip to content

Conversation

conico974
Copy link
Contributor

This PR improve open-next.config.ts file validation so that it's easier to understand what's wrong.
It also provides a better error when a route cannot be found for function splitting.

Copy link

changeset-bot bot commented Sep 12, 2024

🦋 Changeset detected

Latest commit: 64c23b2

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
open-next Patch
app-pages-router Patch
app-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

vercel bot commented Sep 12, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
open-next ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 19, 2024 5:32pm

Copy link
Contributor

@khuezy khuezy left a comment

Choose a reason for hiding this comment

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

LGTM

import logger from "../logger.js";

const compatibilityMatrix: Record<IncludedWrapper, IncludedConverter[]> = {
"aws-lambda": [
Copy link
Contributor

Choose a reason for hiding this comment

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

Would be nice to add this matrix test in a unit test, but perhaps we can do that in the new org

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah i was thinking we could do it in the new org as well.

@conico974 conico974 merged commit 4894974 into opennextjs:main Sep 22, 2024
3 checks passed
@conico974 conico974 deleted the feat/improve-config-validation branch October 29, 2024 10:41
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.

2 participants