Skip to content

Commit

Permalink
Fix next JSR export
Browse files Browse the repository at this point in the history
We don't require this because we expect packages to also have ESM exports
declared in their `package.json`, but `next` does not do this, so we must
explicitly use the extension still.

Annoyingly, a dry run publish with `jsr` doesn't reveal this.
  • Loading branch information
jpwilliams committed Nov 12, 2024
1 parent 6782497 commit 2ffb72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/inngest/src/next.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/

import { type NextApiRequest, type NextApiResponse } from "next";
import { type NextRequest } from "next/server";
import { type NextRequest } from "next/server.js";
import {
InngestCommHandler,
type ServeHandlerOptions,
Expand Down

0 comments on commit 2ffb72d

Please sign in to comment.