Unverified Commit 2fa58c3a authored by Jesse Koldewijn's avatar Jesse Koldewijn Committed by GitHub

fix: Added blockfrost-js, lucid-cardano & mongoose package to srvExtPackages to…

fix: Added blockfrost-js, lucid-cardano & mongoose package to srvExtPackages to prevent issue #49783 from happening. (#49938)

fixes #49783

### What?
Added the following packages to the server component exclusion list
which prevents these packages from going through the currently default
compile pipeline for apps that use the App Router. Packages added are:
"@blockfrost/blockfrost-js", "@jpg-store/lucid-cardano" and "mongoose".
(For instance, mongo was already in this exclusion list)

### Why?
These packages are required by the
"@emurgo/cardano-serialization-lib-nodejs" packages and break when not
added to this list while using the app router.

### How?
I've added these packages to the server-external-packages json file in
the Next.js package's lib directory.
parent eba9e39e
[ [
"@blockfrost/blockfrost-js",
"@jpg-store/lucid-cardano",
"@prisma/client", "@prisma/client",
"@vercel/og", "@vercel/og",
"@sentry/nextjs", "@sentry/nextjs",
...@@ -19,6 +21,7 @@ ...@@ -19,6 +21,7 @@
"lodash", "lodash",
"mdx-bundler", "mdx-bundler",
"mongodb", "mongodb",
"mongoose",
"next-mdx-remote", "next-mdx-remote",
"next-seo", "next-seo",
"pg", "pg",
......
...@@ -25514,4 +25514,4 @@ packages: ...@@ -25514,4 +25514,4 @@ packages:
resolution: {tarball: https://codeload.github.com/watson/ci-info/tar.gz/f43f6a1cefff47fb361c88cf4b943fdbcaafe540} resolution: {tarball: https://codeload.github.com/watson/ci-info/tar.gz/f43f6a1cefff47fb361c88cf4b943fdbcaafe540}
name: ci-info name: ci-info
version: 2.0.0 version: 2.0.0
dev: true dev: true
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment