When building a React (with usual react-scripts
/create-creact-app
etc.) app via npm build
, I always get the entry file in build/index.html
.
I've tried moving the src
into a subfolder, but the index.js
is required to be there in src/index.js
.
So how can I change the output path of the index.html
?
I.e. e.g. I want to rename it to index.htm
, because I am have a pedantic quirk, or I want to change the output path to build/srv/www/index.html
?
(These are just examples.)