Follow this guide for detailed setup instructions
src/main.ts
to init Sentry in the appsrc/app/app.config.ts
to provide SentryErrorHandler
andTraceService
project.json
to register custom webpack config and enable source mapswebpack.config.js
to register and configure the Sentry webpack pluginsrc/app/sentry/*
a small component that throws a sample error
The result is a correctly source-mapped Sentry error with an injected release