[Bug] fix robots generator
DonghyukJacobJang opened this issue · 1 comments
DonghyukJacobJang commented
Describe the bug
The commend npm run build:prod:static
, it does not generate robots.txt
and sitemap.xml
.
To Reproduce
Run the commend npm run build:prod:static
locally, and check out
folder.
Screenshots
Expected behaviour
- Running
npm run build:develop:static
ornpm run build:staging:static
should use the default robots.txt file that is stored inpublic
folder - Running
npm run build:prod:static
must generate robots.txt for PROD use only from therobots-txt-generator
script.
Environment
Run the below command and paste the result here:
npx envinfo --system --npmPackages react* --binaries --npmGlobalPackages react* --browsers
Additional context
DonghyukJacobJang commented