Commit b49082e
authored
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.1 parent 80e0599 commit b49082e
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
| 11 | + | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
0 commit comments