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
I meant capturing a hook in require when we call import user from '../user''
Here how can we get require-in-the-middle callback triggered when loading user module?
Got'ya 👍 No this isn't possible currently. You can hook into internal files inside of modules, but not the root project itself. I don't see why not though as long as the paths are always referenced according to the current working directory. This would be a nice enhancement to the project.
I tried this with Typescript and it worked great.
But is it possible to capture local project level imports too?
The text was updated successfully, but these errors were encountered: