Providing file references for non-standard resource layouts
Answered
Due to the way our load balancers work, we have a directory structure that doesn't match the on-disk structure.
Specifically, our applications have a structure of
<application name>/static/jscript/<javascript files>
But the load balancer refers to it as
/jscript/<application name>/<javascript files>
Is there any way to mark the file elements via a plugin so that IntelliJ can resolve them correctly and tie together the dependencies?
Post is closed for comments.
Could you please clarify where such references occur exactly in code/in what files?
Primarily, the CSS, images and JavaScript on pages. The issue is because the folder structure on disk doesn't match the folder structure on the load balancer, e.g., these imports in a JS file cannot be resolved:
With these files: