Skip to content

Commit

Permalink
Remove zod from require-hook (#52197)
Browse files Browse the repository at this point in the history
Remove the unnecessary added require hook
  • Loading branch information
huozhi committed Jul 5, 2023
1 parent fd508b0 commit 003f7dd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/next/src/server/require-hook.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ addHookAliases([
// styled-jsx needs to be resolved as the external dependency.
['styled-jsx', dirname(require.resolve('styled-jsx/package.json'))],
['styled-jsx/style', require.resolve('styled-jsx/style')],
['zod', dirname(require.resolve('zod/package.json'))],
])

// Override built-in React packages if necessary
Expand Down

0 comments on commit 003f7dd

Please sign in to comment.