Skip to content

Commit

Permalink
Remove unused worker adapters for performance tracing.
Browse files Browse the repository at this point in the history
  • Loading branch information
onurtemizkan committed Nov 16, 2023
1 parent e895df2 commit ec68787
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 173 deletions.
3 changes: 0 additions & 3 deletions packages/remix/src/index.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@ import { makeCloudflareTransport } from './worker/transport';

export { captureRemixServerException } from './utils/instrumentServer';
export { ErrorBoundary, withErrorBoundary } from '@sentry/react';
export { wrapWorkerCreateRequestHandler } from './utils/serverAdapters/worker';
export { wrapCloudflareWorkerCreateRequestHandler } from './utils/serverAdapters/cloudflare-worker';

const nodeStackParser = createStackParser(nodeStackLineParser());

function sdkAlreadyInitialized(): boolean {
Expand Down
2 changes: 0 additions & 2 deletions packages/remix/src/index.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ export { ErrorBoundary, withErrorBoundary } from '@sentry/react';
export { remixRouterInstrumentation, withSentry } from './client/performance';
export { captureRemixErrorBoundaryError } from './client/errors';
export { wrapExpressCreateRequestHandler } from './utils/serverAdapters/express';
export { wrapWorkerCreateRequestHandler } from './utils/serverAdapters/worker';
export { wrapCloudflareWorkerCreateRequestHandler } from './utils/serverAdapters/cloudflare-worker';

export type { SentryMetaArgs } from './utils/types';

Expand Down
85 changes: 0 additions & 85 deletions packages/remix/src/utils/serverAdapters/cloudflare-worker.ts

This file was deleted.

83 changes: 0 additions & 83 deletions packages/remix/src/utils/serverAdapters/worker.ts

This file was deleted.

0 comments on commit ec68787

Please sign in to comment.