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
change req to resolve based on file path rather than directory (#231)
We previously had a fabricated file name (`_`) to forcefully resolve a
given directory path to a file path, so `createRequire` would be happy.
Since we now pass the file path every time, we no longer need this.
In future, if we need to `req` a directory, we should resolve the path
at the call-site rather than inside `req`.
0 commit comments