next.js
Error on directives in positions where they are silently ignored
#99707
Open
Go
Login via GitHub
Home
FAQ
Install
Login
via GitHub
Overview
Commits
4
Changes
View On
GitHub
Error on directives in positions where they are silently ignored
#99707
mischnic
wants to merge 4 commits into
canary
from
codex/error-on-misplaced-directives
lubieowoce
commented on 2026-10-05
Error on directives in positions where they are silently ignored
59a747c4
Unify misplaced-directive checks into the DirectiveVisitor
e333263b
Clarify misplaced "use server"/"use cache" directive error
d7f784b5
Renumber misplaced-directive fixtures conflicting with canary
1e60069f
mischnic
force pushed
from
ad6d55b6
to
1e60069f
25 days ago
github-actions
added
created-by: Turbopack team
github-actions
added
tests
github-actions
added
Turbopack
Login to write a write a comment.
Login via GitHub
Reviewers
lubieowoce
Assignees
No one assigned
Labels
Turbopack
created-by: Turbopack team
tests
Milestone
No milestone
Login to write a write a comment.
Login via GitHub