-
Notifications
You must be signed in to change notification settings - Fork 62
[Bug Report] vuepress-plugin-clean-urls causes build errors when indexSuffix is empty string #18
Comments
I've created a repo that replicates the problem: https://github.com/killroyboy/vuepress-clean-urls-test It currently shows the error when building. Commenting out the |
Strange. This plugin should not have this kind of side effect. I'll try to confirm it. |
@killroyboy I cannot reproduce the bug totally. In your repo:
So seems like this is not caused by the |
I'm not sure that makes me feel any better. So my diagnosis was obviously incorrect. In my testing, if the file is named README.md or index.md, the build fails. |
@meteorlxy Figured it out. Well, not the reason, but a workaround. If I remove Perhaps it doesn't like Hopefully, that gives you some additional ideas of the root cause. |
Uh, well, it maybe related to the known issue vuepress/vuepress-plugin-clean-urls#1 There are still some issues of this plugin before migration to this repo |
Ahh... I was unaware of the other repo. I'm assuming we should leave this bug in place seeing as the other repo is archived? |
Environment
Describe the bug
I have added an index.html and config.yml file (for NetlifyCMS integration). This works perfectly until I enable the clean-urls plugin. It appears this plugin is attempting to parse them in some way.
Steps To Reproduce
vuepress build
Results in the following errors when run with --debug (I renamed by "doc" folder to "src"):
Screenshots
Expected behavior
Build should be completed without errors.
Additional context
The text was updated successfully, but these errors were encountered: