Relative directory config for path.resolve in #515