I'm using webpack and IntelliJ IDEA on a project, where webpack is configured to look for modules on several directories:
modulesDirectories: ['node_modules', 'bower_components', 'lib']
so I can require modules by name instead of full path when the modules are located in one of those directories.
IntelliJ IDEA works fine with the modules located in node_modules and bower_components but does not recognize modules located at the directory lib, giving this warning: Module not installed.
Is there any way to tell IntelliJ IDEA to look on my custom modules directory?
Thanks in advance for your help :)