This question arise from a real world problem.
I have minified code in production and a javascript error is thrown.
AND
The error points, of course, to my minified code.
THEN
I can't debug that error in production.
I think that the best solution here will be the ability to use previously generated source maps with that code to exactly know where is the error happening, the stack trace, and other useful debugging information that I use everyday in development, unminified code.
How can I dynamically pair minified code in production with their source maps?
Note, that I dont want to make the source maps available for every ordinary user, just for developers, in the case where a bug appears.
Thanks! Fran
Aucun commentaire:
Enregistrer un commentaire