Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Update next.config.js

Steven Teye5778bd51204
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index f3f304d0c9..b2cb8b86f9 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -13,14 +13,9 @@ const REDIRECT_SEGMENTS = [
/** @type {import('next').NextConfig} */
module.exports = withAxiom({
reactStrictMode: false,
- transpilePackages: [
- "shiki",
- "@dub/prisma",
- "@dub/email",
- "@boxyhq/saml-jackson",
- ],
- serverExternalPackages: ["jose"],
+ transpilePackages: ["shiki", "@dub/prisma", "@dub/email"],
experimental: {
+ serverComponentsExternalPackages: ["@boxyhq/saml-jackson", "jose"],
esmExternals: "loose",
},
webpack: (config, { webpack, isServer }) => {