Replies: 2 comments
-
Rspress already provide this feature to check dead links if you want to fix this issue that devServer has different behavior from prodServer, it is in the Rsbuild repo |
Beta Was this translation helpful? Give feedback.
-
In my projects, I commonly utilize dead links checks. My temporary alternative, use <https://rsbuild.dev/guide/basic/static-assets#import-static-assets > - 
-  // check dead link not match
-  // also
+ import img4 from "../public/rspress-icon.png";
+ import img5 from "../public/rspress-icon5.png"; // has error Compile error, i love it.
+ <img src={img4} />
+ <img src={img5} />
Yes, that's what I really want, thanks for the guidance. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Adding wrong path
duplicate https://github.com/markH5/rspress_dev_mode
If dev mode is used, it will generate clear warnings on chrome devtools, which I think is a good dx.
Beta Was this translation helpful? Give feedback.
All reactions