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 Structure
Modules
util
and src
) and mark them as ResourcesApply
You should have code completion and documentation available now.