getsentry / getsentry/sentry-javascript

Clean up utils/types-hoist folders from v9 migration

Đang mở
#14,922 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Task
Ngôn ngữ chính
TypeScript
Star
8.7k
Fork
1.8k
Merge trung bình
1 ngày 17 giờ
Pull request đã merge (30 ngày)
515

Mô tả

### Description

For v9 we hoisted `@sentry/utils` and `@sentry/types` into `@sentry/core`. We did that in a bit of a "lazy" way by dumping everything in a `utils-hoist` and `types-hoist` folder respectively and doing `export * from ...`.

Since `export * from ...` is rather error prone and makes bundlers unhappy because it makes them go look for exports, we should get rid of this patterns sooner rather than later and top-level-export all the api we intend to export.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.