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/foo
, I can do
import Foo from utils/foo
The problem is that once I start using aliases, WebStorm looses track of the import and I'm left with warnings and no auto-completion.
Is there a way to instruct WebStorm to use such aliases?