re: [Updated] Simplify the require/import paths in your project and avoid ../../../ circles of hell VIEW POST

FULL DISCUSSION
 
  1. For CRA enough to create in root .env with NODE_PATH=src and all directories inside ./src will be available by absolute path.

  2. Do not use eject, we have alternatives to modify most of internal configs. U can choose:

  • customize-cra
  • react-app-rewired
 
 

I've updated the post to reflect your suggestion. Thanks

code of conduct - report abuse