Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JS best practice: use absolute paths for imports #28

Open
thisismydesign opened this issue Sep 16, 2019 · 2 comments
Open

JS best practice: use absolute paths for imports #28

thisismydesign opened this issue Sep 16, 2019 · 2 comments

Comments

@thisismydesign
Copy link
Member

Investigate if this makes sense and add it if so. See also: https://medium.com/@sherryhsu/how-to-change-relative-paths-to-absolute-paths-for-imports-32ba6cce18a5

@gomorizsolt
Copy link
Collaborator

I have also published a similar Medium article, if it helps. :)

https://medium.com/@zsgomori/webpack-eliminating-long-imports-part-1-d9350cd16585

@thisismydesign
Copy link
Member Author

Just looked into this and as a note: it requires ejecting or messing with CRA default config.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants