-
Notifications
You must be signed in to change notification settings - Fork 4
Description
issue
Recently, I added the plugin in the PR work and am receiving type error warnings as an overlay.
However, there is one problem here. The editor should be opened with the entire relative path hovered, but since it is not, the file in question is not opened in the editor.
From a quick look at the code, it seems to be due to the influence of the https://github.com/rspack-contrib/ts-checker-rspack-plugin plugin that was added in the PR work, rather than the problem of this plugin or the overlay.
Can you give me some advice on this?
reproduction
just create new rsbuild with yarn create rsbuild and add this plugin in rsbuild.config.ts
import { defineConfig } from '@rsbuild/core';
import { pluginReact } from '@rsbuild/plugin-react';
import { pluginTypeCheck } from "@rsbuild/plugin-type-check";
export default defineConfig({
plugins: [pluginReact(),pluginTypeCheck()],
dev: {
client: {
overlay: true,
},
}
});
and make any type error. and then go browser click the overlay link.
the link is not working.
overlay link is -> /src/App.tsx but correct link is ./src/App.tsx