build ghost files for production.