Skip to content

Commit ac73647

Browse files
sommeeeerkhuezy
andauthored
[AWS]: Add excluded packages to docs (#176)
Co-authored-by: khuezy <khuezy.nguyen@gmail.com>
1 parent c4471dc commit ac73647

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

pages/aws/common_issues.mdx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,15 @@ outputFileTracingExcludes: { // or experimental.outputFileTracingExcludes on Nex
2222
},
2323
```
2424

25-
Also you should not add sharp as a dependencies unless absolutely necessary, the image optimization already has it's own version of sharp.
25+
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:
26+
27+
- `caniuse-lite`
28+
- `sharp`
29+
- `@img`
30+
- `typescript`
31+
- `next/dist/compiled/babel`
32+
- `next/dist/compiled/babel-packages`
33+
- `next/dist/compiled/amphtml-validator`
2634

2735
##### Remove sourcemaps
2836

0 commit comments

Comments
 (0)