Added loading minimize option from query

I want to set minimize option in webpack.config.js or require syntax.