logoalt Hacker News

afavourtoday at 12:26 PM1 replyview on HN

One advantage of precompilation is risk reduction. Say tsx gets hacked somehow (hardly unprecedented with Node modules!) you’ve got it running on your production server exposed to the internet. Precompilation on a CI pipeline is still a risk but a significantly lower one.


Replies

pjmlptoday at 12:51 PM

If only the whole JavaScript wasn't as dependency hell of single function packages....