Unverified Commit c20e21bd authored by Qing's avatar Qing Committed by GitHub

fix: @libsql/client build error (#56192)



Here is the error when building @libsql/client:
<img width="794" alt="image" src="https://github.com/vercel/next.js/assets/7880675/7ec63918-04e1-4468-b552-0aba7225b745">

Here is the [codesandbox](https://codesandbox.io/p/sandbox/nice-feynman-hwjsyd?file=%2Fapp%2Fapi%2Froute.ts%3A8%2C7) to repro it.

Enable the `serverComponentsExternalPackages` the issue will be gone:
<img width="766" alt="image" src="https://github.com/vercel/next.js/assets/7880675/af014f2f-2ab2-4ab7-9e3e-4d4adbae36be">

This PR just adds it to the default package list, so Next.js developers don't have to add it manually.
Co-authored-by: 's avatarBalázs Orbán <18369201+balazsorban44@users.noreply.github.com>
parent bf35b47b
...@@ -23,6 +23,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne ...@@ -23,6 +23,7 @@ Next.js includes a [short list of popular packages](https://github.com/vercel/ne
- `@aws-sdk/client-s3` - `@aws-sdk/client-s3`
- `@aws-sdk/s3-presigned-post` - `@aws-sdk/s3-presigned-post`
- `@blockfrost/blockfrost-js` - `@blockfrost/blockfrost-js`
- `@libsql/client`
- `@jpg-store/lucid-cardano` - `@jpg-store/lucid-cardano`
- `@mikro-orm/core` - `@mikro-orm/core`
- `@mikro-orm/knex` - `@mikro-orm/knex`
......
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
"@aws-sdk/client-s3", "@aws-sdk/client-s3",
"@aws-sdk/s3-presigned-post", "@aws-sdk/s3-presigned-post",
"@blockfrost/blockfrost-js", "@blockfrost/blockfrost-js",
"@libsql/client",
"@jpg-store/lucid-cardano", "@jpg-store/lucid-cardano",
"@mikro-orm/core", "@mikro-orm/core",
"@mikro-orm/knex", "@mikro-orm/knex",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment