Add source map generation to build phase.