Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build breaks if content does not include readme or index #4

Open
boygirl opened this issue Apr 16, 2020 · 2 comments
Open

Build breaks if content does not include readme or index #4

boygirl opened this issue Apr 16, 2020 · 2 comments

Comments

@boygirl
Copy link

boygirl commented Apr 16, 2020

If there is not an index or readme inluded in the content directory, and no links anywhere on the site to the base route (i.e. /docs/), this plugin will work in dev mode, but will fail to build for production / staging.

@kitten
Copy link
Owner

kitten commented Apr 16, 2020

Yea, I've noticed that 😓 It's a limitation in react-static that I'll have to add a workaround for

@boygirl
Copy link
Author

boygirl commented Apr 16, 2020

I think it's a pretty understandable limitation. I just opened this for the benefit of future folks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants