Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(replay): Temporarily build Replay after other packages (#6307)
Fix a build error in Replay's build process by building it after all other packages (including their type declarations) were built. We have to do this temporarily because `@rollup/plugin-typescript` expects type declarations of the `@sentry/*` dependencies of the replay package. Because we're building types in parallel to transpiling JS, type declarations were not yet (reliably) built before replay's `build:rollup` commands was executed. To unblock us, we for now build the package via `build:extras` so that it only runs after all other packages were fully built. We should revert this change as soon as we use our transpilation process (sucrase) where we don't care about type declarations. This might also fix the size-limit action on the master branch.
- Loading branch information