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.

add @dub/ui and @dub/utils to optimizePackageImports

Steven Tey30b78300ee4a
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index 4edc84714f..121ed25a12 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -11,6 +11,7 @@ const REDIRECT_SEGMENTS = [
module.exports = {
reactStrictMode: false,
experimental: {
+ optimizePackageImports: ["@dub/ui", "@dub/utils"],
serverComponentsExternalPackages: [
"@react-email/components",
"@react-email/render",