Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
ep103
on Oct 12, 2015
|
parent
|
context
|
favorite
| on:
Node.js: Some quick optimization advice
no, just minimize your code prior to production, and that'll rip out the comments. That's been best practice for years.
nacs
on Oct 12, 2015
|
next
[–]
> just minimize your code prior to production
In frontend JS code sure, but minifying backend node.js code is certainly not "best practice".
draperp
on Oct 12, 2015
|
parent
|
next
[–]
Exactly. And if you did, you would have to look at source maps to decode your stack traces.
lostPixels
on Oct 12, 2015
|
prev
[–]
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: