Open
Description
⚠️ This original post has been edited by @lforst to reflect the current status of Turbopack Support⚠️
Important
This issue is tracking progress on Turbopack Support. If you find bugs or problems with the Sentry SDK in combination with Turbopack please open a separate issue. Thank you!
Problem Statement
Sentry should work in combination with Turbopack with all of its features.
Current Status (Last Update Apr 10, 2025)
Feature | Support | Notes |
---|---|---|
Next.js app compiles and runs without issues | ✅ | |
Server-side instrumentation | ✅ | |
Client-side instrumentation | ✅ | - Upgrade to SDK version 9.9.0 or greater- Upgrade to Next.js canary 15.3.0-canary.8 or greater- Add instrumentation-client.ts file with Sentry.init() call. (sentry.client.config.ts can be replaced with instrumentation-client.ts . It serves the same purpose.) |
Release Injection | ✅ | - Upgrade SDK to version 9.11.0 |
Source Maps | ❌ | - Needs runAfterProductionCompile hook implemented in Next.js- Needs way to inject debug IDs into bundles implemented in Next.js |
React Component Name Annotations | ❌ | - Needs way to transform code in Next.js - Will likely not be possible for the forseeable future |
Metadata
Metadata
Assignees
Type
Projects
Status
No status