Skip to content

Commit a1c99a8

Browse files
committed
chore(next/config): add pino to serverExternalPackages
1 parent 721c1ce commit a1c99a8

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

next-env.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/// <reference types="next" />
22
/// <reference types="next/image-types/global" />
3-
import "./.next/dev/types/routes.d.ts";
3+
import "./.next/types/routes.d.ts";
44

55
// NOTE: This file should not be edited
66
// see https://nextjs.org/docs/app/api-reference/config/typescript for more information.

next.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ module.exports = {
6565
compress: false, // already gzipped with the `HTTP server`. No need with `Next.js`.
6666
serverExternalPackages: [
6767
"@opentelemetry/auto-instrumentations-node",
68-
"@opentelemetry/sdk-node"
68+
"@opentelemetry/sdk-node",
69+
"pino"
6970
]
7071
};

0 commit comments

Comments
 (0)