How To Make Intellij Idea Resolve Webpack Requires Out Of Node_modules Directory?
IntelliJ cannot resolve javascript modules called with webpack requires which are not inside the node_modules directory Imagine this project structure: `- project |- node_module
Solution 1:
I think this should work (or so it did in my case anyway).
In IntelliJ:
- Open the project
File>Project Structure- On the left hand side, select
Modules - From your directory structure, select the folders where your sources are (
utilandsrc) and mark them as Resources - Click
Apply
You should have code completion and documentation available now.
Post a Comment for "How To Make Intellij Idea Resolve Webpack Requires Out Of Node_modules Directory?"