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

Emit build error when "use cache" is used without dynamicIO enabled #72781

Merged
merged 1 commit into from
Nov 13, 2024

Conversation

unstubbable
Copy link
Contributor

Using a build error instead of a runtime error allows us to fail early, and show a proper error source in the terminal and in the dev overlay.

Screenshot 2024-11-13 at 22 19 45

@ijjk ijjk added created-by: Next.js team PRs by the Next.js team. tests Turbopack Related to Turbopack with Next.js. type: next labels Nov 13, 2024
Using a build error instead of a runtime error allows us to fail early,
and show a proper error source in the terminal and in the dev overlay.
@unstubbable unstubbable force-pushed the hl/error-use-cache-without-dynamic-io branch from de2829c to 85e14f0 Compare November 13, 2024 21:27
@unstubbable unstubbable enabled auto-merge (squash) November 13, 2024 21:42
@unstubbable unstubbable merged commit 2c6b09d into canary Nov 13, 2024
103 of 109 checks passed
@unstubbable unstubbable deleted the hl/error-use-cache-without-dynamic-io branch November 13, 2024 21:43
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 28, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
created-by: Next.js team PRs by the Next.js team. locked tests Turbopack Related to Turbopack with Next.js. type: next
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants