666
you are viewing a single comment's thread
view the rest of the comments
[-] kibiz0r@midwest.social 46 points 6 months ago

You’re supposed to disable source maps in prod?

Asking for a friend

[-] dogs0n@sh.itjust.works 18 points 6 months ago

Just to save on wasted bandwidth for the client (and your server) is why I would disable them.

[-] brian@programming.dev 41 points 6 months ago

they're different files generally, the only client that will automatically request them is a debugger.

you turn them off because you don't want to expose your full source code. if you would be ok making your webpage git repo public then making sourcemaps available is fine.

load more comments (2 replies)
load more comments (3 replies)
this post was submitted on 04 Nov 2025
666 points (98.7% liked)

Programmer Humor

31559 readers
1682 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS