Set baseUrl to loader instead of concatenating every path