Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

no, just minimize your code prior to production, and that'll rip out the comments. That's been best practice for years.


> just minimize your code prior to production

In frontend JS code sure, but minifying backend node.js code is certainly not "best practice".


Exactly. And if you did, you would have to look at source maps to decode your stack traces.


No one minifies NodeJS code. The reduced file-size of minified JS is irrelevant on the server.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: