fix(config): resolve sourcemap paths against sourcemap location (#23239)