
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.
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
exportsinstead ofmainin package.json to support esm modules?Thanks.