Skip to content

Commit b43fe35

Browse files
benmerckxijjktimneutkens
authored
Add alinea to server-external-packages.json (#55006)
### What? Adds `@alinea/generated` to the external package list ### Why? [`Alinea`](https://github.com/alineacms/alinea) generates this package at build time and it should not end up in a cache (much like the `@prisma/client` package) --------- Co-authored-by: JJ Kasper <jj@jjsweb.site> Co-authored-by: Tim Neutkens <tim@timneutkens.nl>
1 parent b7bce69 commit b43fe35

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

docs/01-app/03-api-reference/05-config/01-next-config-js/serverExternalPackages.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = nextConfig
1818

1919
Next.js includes a [short list of popular packages](https://github.com/vercel/next.js/blob/canary/packages/next/src/lib/server-external-packages.jsonc) that currently are working on compatibility and automatically opt-ed out:
2020

21+
- `@alinea/generated`
2122
- `@appsignal/nodejs`
2223
- `@aws-sdk/client-s3`
2324
- `@aws-sdk/s3-presigned-post`

docs/02-pages/04-api-reference/04-config/01-next-config-js/serverExternalPackages.mdx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ module.exports = nextConfig
1818

1919
Next.js includes a [short list of popular packages](https://github.com/vercel/next.js/blob/canary/packages/next/src/lib/server-external-packages.jsonc) that currently are working on compatibility and automatically opt-ed out:
2020

21+
- `@alinea/generated`
2122
- `@appsignal/nodejs`
2223
- `@aws-sdk/client-s3`
2324
- `@aws-sdk/s3-presigned-post`

packages/next/src/lib/server-external-packages.jsonc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
[
2+
// alineacms.com generates this package at build time and it should not end up in a cache (much like the @prisma/client package)
3+
"@alinea/generated",
24
"@appsignal/nodejs",
35
"@aws-sdk/client-s3",
46
"@aws-sdk/s3-presigned-post",

0 commit comments

Comments
 (0)