add sourcemap and minify