UNPKG

@sentry/remix

Version:
19 lines (16 loc) • 539 B
import { defineIntegration } from '@sentry/core'; import { setShouldHandleError } from './errorFilter.js'; import { instrumentRemixV3 } from './instrument.js'; const INTEGRATION_NAME = "RemixV3"; const _remixV3Integration = ((options = {}) => { return { name: INTEGRATION_NAME, setupOnce() { setShouldHandleError(options.shouldHandleError); instrumentRemixV3(); } }; }); const remixV3Integration = defineIntegration(_remixV3Integration); export { remixV3Integration }; //# sourceMappingURL=integration.js.map