Production Build does not generate index.html
TobiasPr opened this issue · comments
Tobias Priesching commented
Describe the bug
The command yarn build-prod
does not generate a index.html in /out
directory. The index.html is instead in the /out/404
directory
To Reproduce
Steps to reproduce the behavior:
yarn install && yarn build-prod
- Check output of
out
directory - See error
Expected behavior
A index.html page should be generated in the /out
dir -> /out/index.html
Desktop (please complete the following information):
- OS: Linux
Issaaf Kattan commented
Looks like this issue is regarding another repo https://github.com/issaafalkattan/react-landing-page-template-2021, considering this one does not have a "yarn build-prod" command only a "yarn build" one.