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
Showing
Please
register
or
sign in
to comment