Skip to content

Commit

Permalink
Add @appsignal/nodejs to the external packages list
Browse files Browse the repository at this point in the history
The `@appsignal/nodejs` instrumentation package fails to load in Next.js 14 due to Webpack failing to bundle its Node.js native extension. Adding it to the server components external packages list fixes this issue.

Fixes appsignal/appsignal-nodejs#1014.
  • Loading branch information
unflxw authored Apr 15, 2024
1 parent f9cd55f commit 3ff2f84
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/next/src/lib/server-external-packages.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[
"@aws-sdk/client-s3",
"@aws-sdk/s3-presigned-post",
"@appsignal/nodejs",
"@blockfrost/blockfrost-js",
"@highlight-run/node",
"@jpg-store/lucid-cardano",
Expand Down

0 comments on commit 3ff2f84

Please sign in to comment.