prepare for sourcemaps