Skip to content

Commit

Permalink
build: externalize cf:sockets
Browse files Browse the repository at this point in the history
ref: unjs/nitro#1967 (comment)

Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Apr 8, 2024
1 parent cebe8f6 commit 2afd418
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions config/index.ts
Expand Up @@ -47,6 +47,9 @@ const nitro: NuxtConfig['nitro'] = {
prerender: {
crawlLinks: true,
},
rollupConfig: {
external: ['cloudflare:sockets'],
},
};

const postcss: NuxtConfig['postcss'] = {
Expand Down

0 comments on commit 2afd418

Please sign in to comment.