Skip to content

Commit

Permalink
chore: Improve startup performance (#476)
Browse files Browse the repository at this point in the history
* feat: replace jsx-email

* feat: add pdf libs to external packages

* feat: add aws sdk

* chore: remove duplicate

* chore: fix type error

---------

Co-authored-by: Puru D <[email protected]>
  • Loading branch information
G3root and dahal authored Aug 7, 2024
1 parent fd9cbee commit fd61d78
Show file tree
Hide file tree
Showing 19 changed files with 1,764 additions and 2,058 deletions.
7 changes: 6 additions & 1 deletion next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,12 @@ const nextConfig = {
},
experimental: {
instrumentationHook: true,
serverComponentsExternalPackages: ["pino", "pino-pretty"],
serverComponentsExternalPackages: [
"pino",
"pino-pretty",
"pdf-lib",
"@aws-sdk/s3-request-presigner",
],
},
eslint: {
ignoreDuringBuilds: true,
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
"@radix-ui/react-tabs": "^1.0.4",
"@radix-ui/react-toolbar": "^1.0.4",
"@radix-ui/react-tooltip": "^1.1.2",
"@react-email/components": "0.0.22",
"@react-pdf/renderer": "^3.4.4",
"@remixicon/react": "^4.0.1",
"@scalar/nextjs-api-reference": "^0.4.18",
Expand Down Expand Up @@ -86,7 +87,6 @@
"html-to-image": "^1.11.11",
"input-otp": "^1.1.0",
"jose": "^5.3.0",
"jsx-email": "^1.12.0",
"lodash-es": "^4.17.21",
"mime": "^4.0.3",
"nanoid": "^5.0.4",
Expand All @@ -105,6 +105,7 @@
"react": "18.3.1",
"react-dom": "18.2.0",
"react-dropzone": "^14.2.3",
"react-email": "2.1.6",
"react-hook-form": "^7.52.1",
"react-number-format": "^5.3.4",
"react-pdf": "^8.0.2",
Expand Down
Loading

0 comments on commit fd61d78

Please sign in to comment.