Fixing annoying imports in React Projects
Phil Plückthun
765
Have a look at this paragraph here: https://gist.github.com/ryanflorence/daafb1e3cb8ad740b346#shared-module-resolution
it uses webpack’s *modulesDirectories* to allow importing your components like this: *import Avatar from “components/Avatar”*