add sourcemap generation