Skip to content

Commit

Permalink
Vercel fix 2 (#687)
Browse files Browse the repository at this point in the history
* Object freeze webpack

* fmt

* change requested by Vercel
  • Loading branch information
perkinsjr authored Dec 14, 2023
1 parent 7d5bf56 commit b86b8b7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,11 @@ let nextConfig = {
experimental: {
esmExternals: "loose",
},
webpack: {
cache: Object.freeze({
webpack: (config) => {
config.cache = Object.freeze({
type: "memory",
}),
});
return config;
},

transpilePackages: ["@unkey/db", "@unkey/resend", "@unkey/vercel", "@unkey/result", "@unkey/id"],
Expand Down

1 comment on commit b86b8b7

@vercel
Copy link

@vercel vercel bot commented on b86b8b7 Dec 14, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

web – ./apps/web

web-unkey.vercel.app
unkey.dev
unkey-web-lac.vercel.app
web-git-main-unkey.vercel.app
www.unkey.dev

Please sign in to comment.