logoalt Hacker News

afavouryesterday 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

pjmlpyesterday at 12:51 PM

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