@datadog/mobile-react-native
Version:
A client-side React Native module to interact with Datadog
23 lines (21 loc) • 838 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.getBabelTelemetryConfig = void 0;
var _DdBabelInteractionTracking = require("../rum/instrumentation/interactionTracking/DdBabelInteractionTracking");
/*
* Unless explicitly stated otherwise all files in this repository are licensed under the Apache License Version 2.0.
* This product includes software developed at Datadog (https://www.datadoghq.com/).
* Copyright 2016-Present Datadog, Inc.
*/
const getBabelTelemetryConfig = () => {
return {
babel_plugin: {
enabled: !!globalThis.__DD_RN_BABEL_PLUGIN_ENABLED__,
track_interactions: !!_DdBabelInteractionTracking.DdBabelInteractionTracking.config.trackInteractions
}
};
};
exports.getBabelTelemetryConfig = getBabelTelemetryConfig;
//# sourceMappingURL=telemetry.js.map