Change Default Root Directory In React Project

We will get a default root directory in the html file to access after run npm run build.
For example, there is <script src="/static/js/2.665e3ec0.chunk.js"> in index.html.
How to change the default root direction ?
We can configure our react project.
Add this line in your package.json.

"homepage": "<where you want to be>"

Just like:

Categories: Web

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments

Tex To PDF
: convert the Latex file which suffix is tex to a PDF file

X
0
Would love your thoughts, please comment.x
()
x