issaafalkattan / React-Landing-Page-Template

A simple react one page landing page templates for startups/companies

Home Page:https://react-landing-page-template-93ne.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Production Build does not generate index.html

TobiasPr opened this issue · comments

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:

  1. yarn install && yarn build-prod
  2. Check output of out directory
  3. See error

Expected behavior
A index.html page should be generated in the /out dir -> /out/index.html

Screenshots
image

Desktop (please complete the following information):

  • OS: Linux

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.