Open thisismydesign opened 4 years ago
I have also published a similar Medium article, if it helps. :)
https://medium.com/@zsgomori/webpack-eliminating-long-imports-part-1-d9350cd16585
Just looked into this and as a note: it requires ejecting or messing with CRA default config.
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