getsentry / getsentry/sentry-javascript

Clean up utils/types-hoist folders from v9 migration

Aperta
#14,922 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Task
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.8k
Merge medio
1g 17h
PR unite (30g)
515

Descrizione

### 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.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.