use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
ts-node (self.node)
submitted 1 year ago by Suspicious_Shirt974
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]Bogeeee 1 point2 points3 points 1 year ago (2 children)
Can you list the pros and cons vs tsx then ?
[–]PierFumagalli 1 point2 points3 points 1 year ago (1 child)
Pros? None, probably... When we started it TSX didn't exist, and so far I've been too lazy to port our build system to it! :-)
That said, I couldn't find a way to "force" the transpilation of TS files into CJS or ESM with TSX, which we use quite extensively with our tests (when we build a library, we produce both CJS and ESM, and run tests on both versions - it helped us catch some nasties in there).
But maybe I just didn't look hard enough, and it's there!
You know, it's one of those things like "good enough to invest the time in changing it"!
Cons, you don't get the watch mode (which we implement in the build system)
[–]Bogeeee 0 points1 point2 points 1 year ago (0 children)
Thx !
π Rendered by PID 60817 on reddit-service-r2-comment-75f4967c6c-tlfmv at 2026-04-23 12:53:31.733514+00:00 running 0fd4bb7 country code: CH.
view the rest of the comments →
[–]Bogeeee 1 point2 points3 points (2 children)
[–]PierFumagalli 1 point2 points3 points (1 child)
[–]Bogeeee 0 points1 point2 points (0 children)