Changed build process so concat only runs on building

Also added ‘dist’ to gitignore