-
-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Slug with explicit .html extension breaks build #8139
Copy link
Copy link
Closed
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiongood first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.hacktoberfest
Metadata
Metadata
Assignees
Labels
bugAn error in the Docusaurus core causing instability or issues with its executionAn error in the Docusaurus core causing instability or issues with its executiongood first issueIf you are just getting started with Docusaurus, this issue should be a good place to begin.If you are just getting started with Docusaurus, this issue should be a good place to begin.hacktoberfest
Type
Fields
Give feedbackNo fields configured for issues without a type.
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
I'm migrating a blog from Jekyll. It is necessary for me to keep the exact same url structure because there's external refs to these posts. So I have a
in every blog post frontmatter. On build, this fails with the following error:
Running the site works fine, error only happens on build.
Reproducible demo
https://stackblitz.com/edit/github-iuz7vq?file=blog/2021-08-26-welcome/index.md
Steps to reproduce
/a/b.htmlyarn buildExpected behavior
Build should succeed, especially since running the site poses no problems.
Actual behavior
Build fails with the following error message:
Your environment
On stackblitz playground.
Self-service