O
O
Outsider V.2019-02-18 20:01:22
Node.js
Outsider V., 2019-02-18 20:01:22

Create-react-app: where does Node.js store files?

I worked as a PHP backender, now I want to gradually learn Node.js and React. I found a tutorial video where everything is set up via create-react-app. Well, I installed it, launched it via npm run start - it works on localhost: 3000 I
open the source code (which the server gives), at the end of the HTML I see:

<script src="/static/js/bundle.js"></script><script src="/static/js/0.chunk.js"></script><script src="/static/js/main.chunk.js"></script></body>
</html>

I'm looking for these scripts for the project - nowhere, I'm looking for their addition in the code - also nowhere. The index.html file has everything, except for this line with the addition of scripts.
I don't like magic, and I'm very interested - where is the generated index.html given by the server stored, and where is this static folder in the file system ??

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question