Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

gingerbenw
Copy link
Member

@gingerbenw gingerbenw commented Oct 16, 2024

Goal

Convert packages to TypeScript using rollup to bundle both ES modules and Common JS modules for maximum compatibility

Changeset

  • Install and configure rollup
  • Add type annotations to browser packages
  • Update build scripts to generate es modules

Testing

Covered by CI

Outstanding

  • Test tree shaking manually

@gingerbenw gingerbenw changed the title Convert packages to typescript and es modules Convert packages to TypeScript and ES Modules Oct 16, 2024
Copy link

github-actions bot commented Oct 16, 2024

@bugsnag/browser bundle size diff

Minified Minfied + Gzipped
Before 47.10 kB 14.09 kB
After 55.08 kB 16.54 kB
± ⚠️ +7,978 bytes ⚠️ +2,451 bytes

code coverage diff

<temporarily disabled>

Generated by 🚫 dangerJS against 97f2afb

@gingerbenw gingerbenw force-pushed the integration/typescript branch 2 times, most recently from 0b18a5e to 25ca84e Compare October 24, 2024 10:23
@gingerbenw gingerbenw changed the title Convert packages to TypeScript and ES Modules Modernise browser packages Oct 25, 2024
@gingerbenw gingerbenw force-pushed the integration/typescript branch from 4d6971c to eade9df Compare November 12, 2024 16:17
@gingerbenw gingerbenw force-pushed the integration/typescript branch from 9a4591e to 7bbbff9 Compare December 5, 2024 16:04
error,
true,
handledState,
1
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the signature for Event.create the errorFramesToSkip parameter should be the 5th - the 4th parameter should be for the component name

jest/node-exports-resolver.js Fixed Show fixed Hide fixed
jest/node-exports-resolver.js Dismissed Show dismissed Hide dismissed
gingerbenw and others added 30 commits September 29, 2025 12:38
* Update version and release date in CHANGELOG

* v8.6.0
Add `codeBundleId` config option to main process
* revert browserstack non-https tests to ios_11

* add android 9 test device

* reinstate ios_11 browser error code assertions
Update scope of changelog entry to electron

Co-authored-by: Yousif Ahmed <74918474+yousif-bugsnag@users.noreply.github.com>
…2568)

* Fix `undefined is not a function` for `String.prototype.startsWith`

* Changelog entry added

---------

Co-authored-by: Romain Menke <11521496+romainmenke@users.noreply.github.com>
Merge branch 'next' into integration/typescript
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.