[fix] add switch to exclude sourcemaps