I think we should generate lib.js into app-prod/lib directly. I don't see the need for the "app/lib" step.