Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
move middleware
  • Loading branch information
s1gr1d committed Jan 26, 2026
commit d8f31881505fd0110c8c8b469b012b1f894ffda3
2 changes: 1 addition & 1 deletion packages/hono/src/index.cloudflare.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { sentry } from './middleware/middleware.cloudflare';
export { sentry } from './cloudflare/middleware';
3 changes: 2 additions & 1 deletion packages/hono/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
export * from './middleware/middleware.base';
// eslint-disable-next-line @typescript-eslint/explicit-function-return-type
export const sentryNoOp = () => {};
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l: Wouldn't it be better to just not export anything? It feels odd to get a suggestion here that doesn't do anything

Image

3 changes: 0 additions & 3 deletions packages/hono/src/middleware/middleware.base.ts

This file was deleted.