Fix partials in production mode