Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
3bb0bcbf
Unverified
Commit
3bb0bcbf
authored
Dec 05, 2025
by
Niklas Mischkulnig
Committed by
GitHub
Dec 05, 2025
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pino-related packages to server-external-packages (#86884)
parent
85c3f2e7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
3 deletions
+22
-3
serverExternalPackages.mdx
...ce/05-config/01-next-config-js/serverExternalPackages.mdx
+5
-1
serverExternalPackages.mdx
...ce/04-config/01-next-config-js/serverExternalPackages.mdx
+5
-1
server-external-packages.jsonc
packages/next/src/lib/server-external-packages.jsonc
+12
-1
No files found.
docs/01-app/03-api-reference/05-config/01-next-config-js/serverExternalPackages.mdx
View file @
3bb0bcbf
...
@@ -73,6 +73,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
...
@@ -73,6 +73,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
- `onnxruntime-node`
- `onnxruntime-node`
- `oslo`
- `oslo`
- `pg`
- `pg`
- `pino`
- `pino-pretty`
- `pino-roll`
- `playwright`
- `playwright`
- `playwright-core`
- `playwright-core`
- `postcss`
- `postcss`
...
@@ -86,8 +89,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
...
@@ -86,8 +89,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
- `sharp`
- `sharp`
- `shiki`
- `shiki`
- `sqlite3`
- `sqlite3`
- `t
s-node
`
- `t
hread-stream
`
- `ts-morph`
- `ts-morph`
- `ts-node`
- `typescript`
- `typescript`
- `vscode-oniguruma`
- `vscode-oniguruma`
- `webpack`
- `webpack`
...
...
docs/02-pages/04-api-reference/04-config/01-next-config-js/serverExternalPackages.mdx
View file @
3bb0bcbf
...
@@ -73,6 +73,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
...
@@ -73,6 +73,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
- `onnxruntime-node`
- `onnxruntime-node`
- `oslo`
- `oslo`
- `pg`
- `pg`
- `pino`
- `pino-pretty`
- `pino-roll`
- `playwright`
- `playwright`
- `playwright-core`
- `playwright-core`
- `postcss`
- `postcss`
...
@@ -86,8 +89,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
...
@@ -86,8 +89,9 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
- `sharp`
- `sharp`
- `shiki`
- `shiki`
- `sqlite3`
- `sqlite3`
- `t
s-node
`
- `t
hread-stream
`
- `ts-morph`
- `ts-morph`
- `ts-node`
- `typescript`
- `typescript`
- `vscode-oniguruma`
- `vscode-oniguruma`
- `webpack`
- `webpack`
...
...
packages/next/src/lib/server-external-packages.jsonc
View file @
3bb0bcbf
...
@@ -65,6 +65,14 @@
...
@@ -65,6 +65,14 @@
"onnxruntime-node",
"onnxruntime-node",
"oslo",
"oslo",
"pg",
"pg",
// pino@10.1.0/lib/transport.js passes `join(__dirname, 'worker.js')` to thread-stream which ends
// up `require`ing that filepath, leading to
// `Cannot find module '/ROOT/node_modules/.pnpm/pino@10.1.0/node_modules/pino/lib/worker.js'`
"pino",
// A "plugin" that is passed to pino as a string (and is then required in a worker)
"pino-pretty",
// A "plugin" that is passed to pino as a string (and is then required in a worker)
"pino-roll",
"playwright",
"playwright",
"playwright-core",
"playwright-core",
"postcss",
"postcss",
...
@@ -80,9 +88,12 @@
...
@@ -80,9 +88,12 @@
"sharp",
"sharp",
"shiki",
"shiki",
"sqlite3",
"sqlite3",
"ts-node",
// dynamic `new Worker` call in thread-stream@3.1.0/index.js which pulls in various non-code files
// as well (trying to parse README and invalid test files)
"thread-stream",
// Slow to compile because it pulls in typescript
// Slow to compile because it pulls in typescript
"ts-morph",
"ts-morph",
"ts-node",
"typescript",
"typescript",
"vscode-oniguruma",
"vscode-oniguruma",
"webpack",
"webpack",
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment