Add option to control auto-minify.