Concerns on ClojureScript SourceMaps

Saw this on Twitter:

I see many occasions SourceMaps does not work correctly too, pointing to the wrong line, not able to figure out variable names.

I heard once that Firefox is mapping variable names back to real ones in DevTools, not sure about its progress.

I personally haven’t had too much of a hassle with source maps; it only gets real annoying for me when there’s an error that gets thrown somewhere that is in minified, or from an external library. A lot of my sanity checking also comes from figwheel’s excellent error/warning popup as well.

It’s always been a concern of mine, getting bit by source maps – but I have not yet hit any complete blockers with them yet, they have worked pretty darn well in my own experience.

1 Like