only hashing if there is a source map