Skip to content

Commit 34fb07f

Browse files
authored
chore(www): mock playwright to fix cloudflare build (#79)
1 parent 8126abf commit 34fb07f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

apps/www/nuxt.config.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,9 @@ export default defineNuxtConfig({
6767
preset: 'cloudflare-module',
6868
},
6969

70-
ogImage: {
71-
enabled: false,
70+
alias: {
71+
// Replace Playwright with a mock to bypass Cloudflare build restrictions.
72+
'playwright-core': 'unenv/mock/proxy',
73+
'playwright': 'unenv/mock/proxy',
7274
},
7375
})

0 commit comments

Comments
 (0)