Bundling for lower targets than ESNext?
Is there a way to change the esbuild target in https://github.com/get-convex/convex-backend/blob/fde777b69781d15c3c67eb2dc61549968f9150b5/npm-packages/convex/src/bundler/debugBundle.ts#L38 ? I've tried using the TS 5.2 dispose functionality and that ends up with an actual
using
keyword in the bundled code, which then cannot be parsed?
excerpt from myFunctions.js:
I hardcoded the target to es2020 (locally in the convex cli in node_modules
) and re-bundled & pushed the function which.. "worked", though wondering if there's an 'easy'/intended option to do that.
with es2020:
0 Replies