-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Automatically enable sourcemaps #28
Comments
I had no idea about this. Explains why our new test-app with sentry is not tracked! |
@wireframe I also had no idea about this. I actually don't know how to do this, but I'll have a look into it. If you happen to know how to do this, feel free to submit a PR 🎄 |
Could be possible by the config hook of Ember Addon |
Just for the people who came here to look for a solution: // ember-cli-build.js
var app = new EmberApp(defaults, {
sourcemaps: {
enabled: true
}
}); Will enable sourcemaps for every build (even production). |
🎉 if @floqqi's answer solves this. |
I included the |
Why does the readme link to this issue instead of just saying to use sourcemaps directly? |
@robclancy legacy. PRs welcome! |
This will add a meaningful explanation for sourcemaps enabling instead of linking to issue ember-cli-sentry#28.
ember-cli disables sourcemaps in production mode which makes sentry's stacktraces pretty much unusable. It would be awesome to automatically enable sourcemaps with this addon so that stuff "just works".
If that's not possible or you'd want this to be an opt-in feature, it would be great to log a warning/error on startup that the deveoper needs to manually enable sourcemaps for sentry's stacktraces to be usable.
The text was updated successfully, but these errors were encountered: