You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using project paths make refactoring as your project scales much easier. I would like to add "src" and "public" to the paths searched with import statements.
In the configuration files of react-scripts.
The text was updated successfully, but these errors were encountered:
Yup! Per @viankakrisna's comment, you can set NODE_PATH=src in your .env file to achieve this effect.
We do not allow importing from outside of src/ so there is no need for supporting other locations as well (e.g. public/).
Using project paths make refactoring as your project scales much easier. I would like to add "src" and "public" to the paths searched with
import
statements.In the configuration files of react-scripts.
The text was updated successfully, but these errors were encountered: