Replies: 2 comments 1 reply
-
I would do it like so: |
Beta Was this translation helpful? Give feedback.
1 reply
-
You could call the sentry.ts file with tsx, and inside the sentry.ts file, at the bottom after initialization, you can call your index file, which would normally be in the tsx script |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My program is using ESM mode and I'm running tsx, but I have a problem with not being able to first import sentry.ts and then import index.ts.
This is how we are starting our program. Where would we insert the
--import path/to/sentry.js
here?node --env-file=.env --import tsx/esm --watch src/index.ts
Beta Was this translation helpful? Give feedback.
All reactions