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 Oct 17, 2023
1 parent 6106489 commit 5fa2f10
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 @@ -60,8 +60,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';

function sdkAlreadyInitialized(): boolean {
const hub = getCurrentHub();
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 5fa2f10

Please sign in to comment.