using esbuild@0.20.0 and discord-api-types@0.37.69, is there a proper way to tree-shake it so I actually only get the code I use?
running npx esbuild index.ts --bundle --minify --outfile=index.js with the snippet below, I get a 69.1kb file, which is not negligible when working with space constrained envs like cloudflare workers
import { InteractionType } from 'discord-api-types/v10'
console.log(InteractionType.Ping)