From e0a1c7b024bc15055d74d2130d73908a4aeb0ff3 Mon Sep 17 00:00:00 2001 From: Magnus Dahl Eide Date: Tue, 12 Aug 2025 11:31:36 +0200 Subject: [PATCH 1/4] [AWS]: Add excluded packages to docs --- pages/aws/common_issues.mdx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/pages/aws/common_issues.mdx b/pages/aws/common_issues.mdx index 9718137..0efa0cc 100644 --- a/pages/aws/common_issues.mdx +++ b/pages/aws/common_issues.mdx @@ -22,7 +22,15 @@ outputFileTracingExcludes: { // or experimental.outputFileTracingExcludes on Nex }, ``` -Also you should not add sharp as a dependencies unless absolutely necessary, the image optimization already has it's own version of sharp. +Also you should not add sharp as a dependencies unless absolutely necessary, the image optimization already has it's own version of sharp. By default OpenNext does exclude these packages: + +- `caniuse-lite` +- `sharp` +- `@img` +- `typescript` +- `next/dist/compiled/babel` +- `next/dist/compiled/babel-packages` +- `next/dist/compiled/amphtml-validator` ##### Remove sourcemaps From 4a46e2b823f538a8aa519e6c08103c3ec0d651a1 Mon Sep 17 00:00:00 2001 From: Magnus Dahl Eide Date: Tue, 12 Aug 2025 13:27:27 +0200 Subject: [PATCH 2/4] plural --- pages/aws/common_issues.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/aws/common_issues.mdx b/pages/aws/common_issues.mdx index 0efa0cc..c40fa79 100644 --- a/pages/aws/common_issues.mdx +++ b/pages/aws/common_issues.mdx @@ -22,7 +22,7 @@ outputFileTracingExcludes: { // or experimental.outputFileTracingExcludes on Nex }, ``` -Also you should not add sharp as a dependencies unless absolutely necessary, the image optimization already has it's own version of sharp. By default OpenNext does exclude these packages: +Also you should not add sharp as a dependency unless absolutely necessary, the image optimization already has it's own version of sharp. By default OpenNext does exclude these packages: - `caniuse-lite` - `sharp` From 495b5828c1e92ed8049a2f89ed6f020b58f5f1b5 Mon Sep 17 00:00:00 2001 From: Magnus Date: Tue, 12 Aug 2025 17:57:42 +0200 Subject: [PATCH 3/4] Update pages/aws/common_issues.mdx Co-authored-by: khuezy --- pages/aws/common_issues.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/aws/common_issues.mdx b/pages/aws/common_issues.mdx index c40fa79..9960cc3 100644 --- a/pages/aws/common_issues.mdx +++ b/pages/aws/common_issues.mdx @@ -22,7 +22,7 @@ outputFileTracingExcludes: { // or experimental.outputFileTracingExcludes on Nex }, ``` -Also you should not add sharp as a dependency unless absolutely necessary, the image optimization already has it's own version of sharp. By default OpenNext does exclude these packages: +You should also not add sharp as a dependency unless absolutely necessary, the image optimization already has it's own version of sharp. By default OpenNext does exclude these packages: - `caniuse-lite` - `sharp` From ac1db1567b3f884cfecbe801e28498a5e342d4ba Mon Sep 17 00:00:00 2001 From: Magnus Date: Tue, 12 Aug 2025 18:43:37 +0200 Subject: [PATCH 4/4] Update pages/aws/common_issues.mdx Co-authored-by: khuezy --- pages/aws/common_issues.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/aws/common_issues.mdx b/pages/aws/common_issues.mdx index 9960cc3..aed2178 100644 --- a/pages/aws/common_issues.mdx +++ b/pages/aws/common_issues.mdx @@ -22,7 +22,7 @@ outputFileTracingExcludes: { // or experimental.outputFileTracingExcludes on Nex }, ``` -You should also not add sharp as a dependency unless absolutely necessary, the image optimization already has it's own version of sharp. By default OpenNext does exclude these packages: +You should also not add sharp as a dependency unless absolutely necessary, the image optimization already has it's own version of sharp. By default OpenNext excludes these packages: - `caniuse-lite` - `sharp`