3 ms·
A blog post would be great -- I really like lightweight dev processes. Do you use map files for debugging unminified JS?
by whichdan 13y ago
A blog post would be great -- I really like lightweight dev processes.
Do you use map files for debugging unminified JS?
- sdesol 13y ago"Do you use map files for debugging unminified JS?" No its even simplifier than that, and it has to do with how the browsers JavaScript engine reads the JS files. Well at least modern browsers. When I generate my html file with the include JS lines, I make sure to put the minified version first, then the unminified files to debug. If the unminifed version contains the same function, the browser will use that instead of the minified one. So when an error comes up, the browser will point to the unminified JS file in the stacktrace.
- whichdan 13y agoOh that's really interesting -- thanks for explaining it!