A
A
alex4answ2020-05-28 07:29:20
JavaScript
alex4answ, 2020-05-28 07:29:20

What is jsconfig.json?

Good afternoon, I came across a file (more precisely, a recommendation, use jsconfig.json to specify baseUrl/Path )

All my searches lead to 1 - that this is a file for VS Code, but the rules written there always work, regardless of which environment I run the project in.

What is it, and what is it eaten with?
Create React App apparently takes it into account, but I could not find any information on this matter, please tell me.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Robur, 2020-05-28
@alex4answ

1. yes, this is a file for vscode that helps the editor to better understand where you have what.
https://code.visualstudio.com/docs/languages/jsconfig
2. since vscode is extremely popular, its support was added to create-react-app to take some parameters from there and make it easier to configure the build.
https://github.com/facebook/create-react-app/search...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question