tachybase_todo/packages/core/telemetry/src/index.ts
TomyJan d5a0f5640c perf(telemetry): load telemetry asap (#1431)
Reviewed-on: daoyoucloud/tachybase#1431
Reviewed-by: sealday <zhanglin@daoyoucloud.com>
Co-authored-by: TomyJan <TomyJan6@gmail.com>
Co-committed-by: TomyJan <TomyJan6@gmail.com>
2024-08-02 11:57:29 +08:00

8 lines
147 B
TypeScript

import { getTelemetry } from './telemetry';
if (!getTelemetry()) {
throw new Error('Failed to load telemetry');
}
export * from './telemetry';