Skip to content

Commit

Permalink
fix: Build for Cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord committed Apr 30, 2024
1 parent b943759 commit 33ff6a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion apps/web/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,14 @@
export default defineNuxtConfig({
devtools: { enabled: true },

site: {
url: 'https://getlicensed.dev',
},

nitro: {
preset: 'cloudflare-pages',
rollupConfig: {
external: ['cloudflare:sockets', 'pg-native'],
external: ['cloudflare:sockets', 'pg-native', '@prisma/client'],
},
esbuild: {
options: {
Expand Down

0 comments on commit 33ff6a3

Please sign in to comment.