`resolve` doesn't resolve real path for `basedir` if it is relative path. I'v created a bad case example ( by [lerna](https://github.com/lerna/lerna) ) here https://github.com/malash/resolve-bad-case The issue is related to https://github.com/browserify/resolve/issues/130 . The issue effected https://github.com/peerigon/extract-loader/issues/48 and may affect https://github.com/browserify/resolve/issues/163 . @zkochan @ljharb