Custom node loader?
I'm having trouble taking a screenshot with Playwright, and it seems to be a common issue with typescript compiling the code. There are various "easier" workarounds that don't seem to work for me (like this) so I'm trying to do this one.
It wants me to do
node --loader @esbuild-kit/esm-loader
. Is there a way to specify this for Convex to run with that for my node actions?GitHub
keep-names to only be applied when name is changed · Issue #2605 · ...
I would like to request for --keep-names to only be applied when the name is changed (e.g. via minification). Currently, it applies even if the name is unchanged: https://hyrious.me/esbuild-repl/?v...
GitHub
ReferenceError: __name is not defined · Issue #113 · privatenumber/...
Bug description I'm trying to use Playwright screenshot function w/ tsx from command line. This has worked in previous versions and works with tsm but doesn't work w/ tsx. Reproduction // t...
2 Replies
@eric could you try external packages, https://docs.convex.dev/functions/bundling#external-packages, which will avoid he bundling step that it sounds like is the problem here?
Worked! Many thanks for the response