levibostian / ExpressjsBlanky

Blank Express.js project to get up and running FAST.
MIT License
7 stars 0 forks source link

Source maps for honeybadger #16

Closed levibostian closed 4 years ago

levibostian commented 4 years ago

https://docs.honeybadger.io/lib/javascript/guides/using-source-maps.html

That way we don't see "dist/index.js:300" as the source when there is a crash. We can see the actual code to know what is wrong.

levibostian commented 4 years ago

I am not sure if (1) I can do this or (2) I need to.

I just now enabled inline source maps for babel. That could help. Also, the sourcemaps API for honeybadger assumes that you're building a web application since it requires you send a URL that points to the minified file.