vitepress
                                
                                
                                
                                    vitepress copied to clipboard
                            
                            
                            
                        Build failed for md file name containing `#`
Describe the bug
If build markdown files where names containing #, the build will fail.
Reproduction
See: https://stackblitz.com/edit/vite-p8gtbd?file=docs%2F.vitepress%2Fconfig.ts
If example#.md as an item in sidebar, build fails.
Expected behavior
Should have an error message on console to hint such naming problem if it's by design
System Info
...
Additional context
No response
Validations
- [X] Check if you're on the latest VitePress version.
 - [X] Follow our Code of Conduct
 - [X] Read the docs.
 - [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
 
And md file named containing pattern like \[.*\] will lead to *.path.js missing in vitepress 1.1.0