facebook-nodejs-business-sdk
facebook-nodejs-business-sdk copied to clipboard
Can not use esm version with esbuild, tree shaking not work
I just used the conversions api, and the package size was 2mb, which is very wasteful in a serverless environment, and even exceeds the size of the entire backend code.
Would it be better to use exports instead of main in package.json to support esm modules?
Thanks.