HashedIn by Deloitte interview question

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