rsnext/packages
Donny/강동윤 8d6c1a6d40
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
2024-02-22 08:51:45 +01:00
..
create-next-app v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
eslint-config-next v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
eslint-plugin-next v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
font v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next Add experimental flag for early exit on prerender error (#62367) 2024-02-22 01:47:43 +00:00
next-bundle-analyzer v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next-codemod v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next-env v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next-mdx v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next-plugin-storybook v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next-polyfill-module v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next-polyfill-nomodule v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
next-swc fix(next-swc): Fix span for invalid 'use server' directives (#62259) 2024-02-22 08:51:45 +01:00
react-refresh-utils v14.1.1-canary.69 2024-02-21 23:22:02 +00:00
third-parties v14.1.1-canary.69 2024-02-21 23:22:02 +00:00