honeybadger-io / honeybadger-js

Universal JavaScript library for reporting errors to Honeybadger.io :zap:
https://www.honeybadger.io/for/javascript/
MIT License
109 stars 62 forks source link

React-native needs to use project references in Typescript #1081

Open BethanyBerkowitz opened 1 year ago

BethanyBerkowitz commented 1 year ago

If we want to leverage Typescript Project References correctly, we would need to build the typescript files outside rollup. See this https://github.com/honeybadger-io/honeybadger-js/pull/1078 for more information.

BethanyBerkowitz commented 1 year ago

I started this, then decided it would be better to wait until https://github.com/honeybadger-io/honeybadger-js/issues/1097 is complete because I think @subzero10 is most likely going to make changes to the rollup config and I don't want to introduce conflicts. Also, he may strip out the spot where we import package.json, which would make messing with the build process easier (both typescript and rollup do not like the fact that we import a file that's above the src directory).