1👍
✅
I could not make my manfiest avaliable in public_html/build but I can leave all my compiled files there and move it to public/build and it works.
0👍
I solved the issue by creating a bash file that ran the npm command then moved the file to the public directory as needed.
I run one command and it does everything I need easily with no extra work…
Filename: npm_run_build.bash
Contents:
#!/bin/bash
npm run build
mv ./public_html/build/manifest.json ./public/build/manifest.json
Then I just run the command
"bash npm_run_build.bash"
in place of hte command
npm run build
It does the build then moves the file to the place needed so I can run the script without any extra work…
Source:stackexchange.com