diff --git a/pages/aws/common_issues.mdx b/pages/aws/common_issues.mdx index 9718137..aed2178 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. +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` +- `@img` +- `typescript` +- `next/dist/compiled/babel` +- `next/dist/compiled/babel-packages` +- `next/dist/compiled/amphtml-validator` ##### Remove sourcemaps