Answer the question
In order to leave comments, you need to log in
Create-react-app: How to change the parsed directory?
Good day!
The problem is this: there is a project that stores back and front. a specific directory is allocated for the front, let it be: /frontend/
Since create-react-app is now processing a directory that is in the same directory as package.json, the question arises: how to change the directory being processed without using npm eject?
Thank you.
Answer the question
In order to leave comments, you need to log in
Maybe I did not understand the question, but, Why change the processed directory? Just put this folder in src. During the build, the entire front will still be where it needs to be. Just point the final module to index.js. because in the end everything gathers into it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question