Open vincesp opened 2 weeks ago
add this to top of your config:
process.env.VITE_EXTRA_EXTENSIONS = 'crt' // comma separated list: 'foo,bar,baz'
regarding error message it probably can be improved 👀
While downgrading my project to a working version of vitepress, I found out that v1.0.0-rc.39 is the last working version. This bug behavior apparently introduced with 1.0.0-rc.40.
Sorry for the "racing condition." I did not mean to re-open the task, just wanted to document the exact version when the behavior changed.
Ah, no. You didn't. I reopened it because of slightly misleading error message, and missing docs.
Describe the bug
This bug was not present in v1.0.0-rc.24 but is now present in v1.1.0.
Current behavior:
Reproduction
https://stackblitz.com/edit/vite-ezwnqb?file=docs%2Fexample.md
npm run docs:dev
npm run docs:build
The following error will be displayed:
Note that the link displayed is not a dead link. The error message does not tell that it in fact tries to link to /some-root-ca.crt.html which does not exist.
Expected behavior
Behavior like in v1.0.0-rc.24:
https://stackblitz.com/edit/vite-5ovzcs?file=package.json
System Info
Additional context
No response
Validations