@kranthitech thanks for the reply, I hadn’t updated the plugin — so it’s good to read that the logging has at the very least been dropped from future versions.
In regards to your debugging case — it’s an extremely poor decision to sacrifice production-quality performance over an edge-case support scenario. There are a few ways you could deal with it:
- Use a source map: https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Use_a_source_map
- Ship both a proper
client.min.js and a concatenated-only client.js. Add an option in the backend to enable “debug mode” — make sure “debug mode” is disabled by default. When “debug mode” is enabled enqueue client.js and when it’s disabled enqueue client.min.js
- Sign up for a client-side logging/debugging SaaS