|
| ▲ | embedding-shape 7 hours ago | parent | next [-] |
| Some sites want to ship small bundles to the client by default, sourcemaps enables that + you get to introspect it because it's downloaded only when requested. Literally best of both worlds :) |
| |
| ▲ | samdoesnothing 6 hours ago | parent [-] | | I love shipping source maps for my stuff bc it lets other developers take a peek and I love doing that with other peoples sites :) |
|
|
| ▲ | silverwind 4 hours ago | parent | prev | next [-] |
| Yep, sourcemaps are essential to get usable error stack traces, and that's their only purpose. |
|
| ▲ | samtheprogram 4 hours ago | parent | prev [-] |
| Idk why you are getting downvoted. To elaborate on your comment, if you just ship sourcemaps in production, that means you can ship minified code and track down what _actual_ source that you _aren't_ shipping to users is getting called, is in stack traces, etc. I'm not aware of a point of sourcemaps otherwise. |