You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to make filing cabinet aware of such a situation? I'm trying to build a dependency graph for a project that uses NODE_PATH=src and would like to be able to resolve something like import Foo from 'components/Foo' to /absolute/path/to/project/src/components/Foo.js
The text was updated successfully, but these errors were encountered:
You could try that by modifying that code deep within the consuming library (like dependency-tree or madge) and see if it works. If that doesn't work right away, the fix would definitely be in that region. Let me know what you find. I'm happy to review a PR that fixes the issue. Any help is appreciated.
Hey,
we're using something similar to https://gist.github.com/branneman/8048520#52-only-while-executing-node to prevent having to use long, relative paths when importing/requiring modules.
Is there a way to make filing cabinet aware of such a situation? I'm trying to build a dependency graph for a project that uses
NODE_PATH=src
and would like to be able to resolve something likeimport Foo from 'components/Foo'
to/absolute/path/to/project/src/components/Foo.js
The text was updated successfully, but these errors were encountered: