compile with --minify option