next.js
8d6c1a6d - fix(next-swc): Fix span for invalid `'use server'` directives (#62259)

Commit
1 year ago
fix(next-swc): Fix span for invalid `'use server'` directives (#62259) ### What? Highlight only `'use server'`, instead of the whole function body. ### Why? Other statements of the body is not related to the error. ### How? x-ref: https://vercel.slack.com/archives/C04CAN8CGCE/p1708353068632249?thread_ts=1708351927.544179&cid=C04CAN8CGCE Closes PACK-2538
Author
Parents
Loading