compiles + adds sourcemaps