HashedIn by Deloitte Interview Question

How do you achieve bundle and minification in front-end JS frameworks/libs?