Re:Node.js: Some quick optimization advice
by ep103 on Monday October 12, 2015 @12:40PM
(#10375620)
no, just minimize your code prior to production, and that'll rip out the comments. That's been best practice for years.
[ Parent
| on HN ]
> just minimize your code prior to production
In frontend JS code sure, but minifying backend node.js code is certainly not "best practice".
Re:Node.js: Some quick optimization advice
by draperp on Monday October 12, 2015 @04:59PM
(#10376930)
Exactly. And if you did, you would have to look at source maps to decode your stack traces.
Re:Node.js: Some quick optimization advice
by lostPixels on Monday October 12, 2015 @01:40PM
(#10375972)
No one minifies NodeJS code. The reduced file-size of minified JS is irrelevant on the server.