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 Teyfa71d8862c6d
diff --git a/apps/web/next.config.js b/apps/web/next.config.js
index e45e116f29..7525bf6d1a 100644
--- a/apps/web/next.config.js
+++ b/apps/web/next.config.js
@@ -10,11 +10,13 @@ const REDIRECT_SEGMENTS = [
/** @type {import('next').NextConfig} */
module.exports = {
reactStrictMode: false,
- serverExternalPackages: [
- "@react-email/components",
- "@react-email/render",
- "@react-email/tailwind",
- ],
+ experimental: {
+ serverComponentsExternalPackages: [
+ "@react-email/components",
+ "@react-email/render",
+ "@react-email/tailwind",
+ ],
+ },
webpack: (config, { webpack, isServer }) => {
if (isServer) {
config.plugins.push(