IntelliJ cannot resolve javascript modules called with webpack requires which are not inside the node_modules directory
Imagine this project structure:<
I think this should work (or so it did in my case anyway).
In IntelliJ:
File > Project StructureModules util and src) and mark them as ResourcesApplyYou should have code completion and documentation available now.