add `minify` option to control minification, defaults to true