Description
tl;dr; Are there any plans (or is there any demand) in making some paths customlizable? Like appIndexJs
, appHtml
or appBuild
.
Context: The reason why I am asking this is that I am developing an app and wanted to use create-react-app
to ease my way into working with React. Since the backend is a node server I want to share some code between client and server. Currently I have the folder setup like this:
project/
src/
client/
server/
shared/
I know about this example: https://github.com/fullstackreact/food-lookup-demo
The problem that I have with this setup is that webpack watchers would not automatically update/refresh when I change code in the shared
folder. I know that I just can eject
, but I want to profit from all the great updates! :)
So, I would like to change appIndexJs
and appHtml
to src/client/index.js
/src/client/index.html
.
Proposal: Add some configuration options to package.json
to further configure create-react-app
. This is done by other software already, e.g. ava.
This would allow (beside the "no-config" usage) to have some "advanced" configuration without ejecting. If this is something other people than me want, I would love to make a PR :)