I am working on a project created by others in Node.JS.
Noticed a pattern I've never used before.
All the inside imports are used with @
.
ex: import Config from '@config/config';
Where config is a file inside /src/config/config.js
.
Now, it's working flowlessly but WebStorm keeps complain about Module is not installed
and suggest me to Install @config/config as dev dependency
.
The real issue behind it is that WebStorm isn't able to autocomplete or help me in any other way regard those imports.
And how do I configure WebStorm to understand this?
Thanks!