Minify middleware for koa