Skip to content

Commit

Permalink
Fix pnpm build --filter next on a clean repository (#68693)
Browse files Browse the repository at this point in the history
`next` uses `@next/font` during type emission (referenced in
`packages/next/types/$$compiled.internal.d.ts`). However, we currently
don't build `@next/font` before `next` since it's not declared
dependency.

Added to `devDependencies` since that's what `@next/font` is to `next`.
In prod, we use the vendored version.
  • Loading branch information
eps1lon authored and ForsakenHarmony committed Aug 16, 2024
1 parent 5140032 commit c7cae73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@
"@jest/types": "29.5.0",
"@mswjs/interceptors": "0.23.0",
"@napi-rs/triples": "1.2.0",
"@next/font": "14.2.5",
"@next/polyfill-module": "14.2.5",
"@next/polyfill-nomodule": "14.2.5",
"@next/react-refresh-utils": "14.2.5",
Expand Down
3 changes: 3 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c7cae73

Please sign in to comment.