Upload source map to Bugsnag for VUE JS

301 Views Asked by At

For my VUE JS ( VUE CLI) application, I have uploaded a source map to Bugsnag using webpack-bugsnag-plugins. But I am wondering if there is any way that the source map is not shown in the browser. I tried deleting the created *.map files after uploading to bugsnag in the post-build script, but then the error event is not mapped to the source file in Bugsnag.

I am worried about exposing my source code in the browser with productionSourceMap = true, but I wanted to have the full trace of my error in Bugsnag.

Can anyone help me with this?

0

There are 0 best solutions below