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 Tey6109cc2ea7bf
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 8a070ae492..cac532022f 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -19,6 +19,10 @@ module.exports = withAxiom({
"@dub/email",
"@boxyhq/saml-jackson",
],
+ experimental: {
+ serverComponentsExternalPackages: ["jose"], // Keep this
+ esmExternals: "loose", // Keep this
+ },
webpack: (config, { webpack, isServer }) => {
if (isServer) {
config.plugins.push(