Changed the pipeline so that the dist folder needed is generated