Reworked rollup builds#2736
Merged
hamudi-ahmed merged 79 commits intotypescript-integration-rebase-next-catchupfrom Apr 24, 2026
Merged
Reworked rollup builds#2736hamudi-ahmed merged 79 commits intotypescript-integration-rebase-next-catchupfrom
hamudi-ahmed merged 79 commits intotypescript-integration-rebase-next-catchupfrom
Conversation
# Conflicts: # package-lock.json
# Conflicts: # packages/core/package.json # packages/delivery-react-native/package.json # packages/node/package.json # packages/plugin-network-breadcrumbs/src/network-breadcrumbs.ts # packages/plugin-react-native-client-sync/package.json
…ser, node and web-worker)
c79be37 to
a860e5d
Compare
84489ed to
769e8d2
Compare
9f0f322 to
0802b68
Compare
gingerbenw
approved these changes
Apr 24, 2026
fa3a60f
into
typescript-integration-rebase-next-catchup
8 of 16 checks passed
|
| Minified | Minfied + Gzipped | |
|---|---|---|
| Before | 48.34 kB |
14.65 kB |
| After | 48.34 kB |
14.65 kB |
| ± | No change | No change |
code coverage diff
Coverage values did not change👌.
Total:
| Lines | Branches | Functions | Statements |
|---|---|---|---|
| 77.38%(+0%) | 69.48%(+0%) | 74.96%(+0%) | 76.43%(+0%) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Goal
This pull request includes a range of improvements and updates across build tooling, configuration, and dependencies. The most significant changes are the modernization of the Rollup build configuration to support both ESM and CJS outputs, updates to dependencies (notably Jest, TypeScript, and React Native), and enhancements to ESLint and Babel configurations for better compatibility and code quality. There are also minor improvements to CI/CD scripts and Docker setup to support the new build and test processes.
Changeset
Build System Modernization
.rollup/index.mjsto generate both ESM and CJS builds with appropriate plugins, output directories, and improved handling of TypeScript declarations. This includes emitting apackage.jsonfor CJS builds and updating the version replacement logic. [1] [2]packages/browser/rollup.config.mjs(renamed fromrollup.config.npm.mjs) to use the new Rollup configuration structure, with improved tree-shaking and output settings. [1] [2]mainentry in@bugsnag/browser/package.jsontodist/index-cjs.jsand updated build scripts to use the unified Rollup config. [1] [2]Dependency and Compatibility Updates
tsconfig.test.jsonand ensure all relevant config files are copied into the build context.Linting and Code Quality Enhancements
Babel and Build Config Improvements
Test and CI Pipeline Adjustments