Custom build by requiring libs in multiple entry files