Skip to content

Commit

Permalink
fix: add aws packages to default serverComponentsExternalPackages (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
balazsorban44 committed Jul 10, 2023
1 parent c6b163f commit a06775c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,42 @@ module.exports = nextConfig

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

- `@aws-sdk/client-s3`
- `@aws-sdk/s3-presigned-post`
- `@blockfrost/blockfrost-js`
- `@jpg-store/lucid-cardano`
- `@mikro-orm/core`
- `@mikro-orm/knex`
- `@prisma/client`
- `@sentry/nextjs`
- `@sentry/node`
- `@swc/core`
- `argon2`
- `autoprefixer`
- `aws-crt`
- `bcrypt`
- `better-sqlite3`
- `canvas`
- `cpu-features`
- `cypress`
- `eslint`
- `express`
- `firebase-admin`
- `jest`
- `jsdom`
- `lodash`
- `mdx-bundler`
- `mongodb`
- `mongoose`
- `next-mdx-remote`
- `next-seo`
- `payload`
- `pg`
- `playwright`
- `postcss`
- `prettier`
- `prisma`
- `puppeteer`
- `rimraf`
- `sharp`
- `shiki`
Expand Down
2 changes: 2 additions & 0 deletions packages/next/src/lib/server-external-packages.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
[
"@aws-sdk/client-s3",
"@aws-sdk/s3-presigned-post",
"@blockfrost/blockfrost-js",
"@jpg-store/lucid-cardano",
"@mikro-orm/core",
Expand Down

0 comments on commit a06775c

Please sign in to comment.