DEV Community

loading...

Discussion on: 😫 Tired Of Relative Imports? Time To Get Rid Of Them!

Collapse
big78113828 profile image
Big

in Create-React-App you can just edit your .env file and add

'NODE_PATH=src'

, assuming you're starting from the src/ folder.

Some comments have been hidden by the post's author - find out more