Add the sourcemap route only if they're enabled