jsondiffpatch icon indicating copy to clipboard operation
jsondiffpatch copied to clipboard

Source maps in non-minified build code messes up chrome dev tools

Open nbrustein opened this issue 10 years ago • 0 comments

When I used jsondiffpatch/public/build/jsondiffpatch-full.js for local development, I started to have problems with chrome devtools. If I put a debugger in my own code, then in the source tab of the chrome devtools I would end up in this file: jsondiffpatch/src/formatters/index.js

When I switched to using the minified files for local development, like jsondiffpatch/public/build/jsondiffpatch-full.min.js, the problem went away.

Maybe remove the sourcemap stuff from the distributed .js files?

nbrustein avatar Oct 13 '15 20:10 nbrustein