Splits config and apps.js in production.