Before the project goes online, prepare an exception capture function to proactively understand where bugs exist in the front-end project. However, when the ordinary exception capture was sent to my email, I saw that it only contained the number of lines of code after packaging, so it was troublesome to fix bugs. I would like to ask a master how to catch front-end exceptions and obtain the number of lines before packaging when developing a vue.js project?
Enable sourcemap when packaging with webpack