revert moving the replaceExt to after sourcemaps are applied