I use webpack path aliases for ES6 module loading.
E.g. If I define an alias for utils instead of something like import Foo from \".
utils
import Foo from \".
add jsconfig.js on your project root
jsconfig.js
{ "compilerOptions": { "baseUrl": ".", "paths": { "~/*": ["./src/*"] } } }