Skip to content

Commit 6bbc30a

Browse files
committed
fix: force no_bundle
1 parent 292b595 commit 6bbc30a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,8 @@ export default defineNuxtModule<ModuleOptions>({
9494
nuxt.options.nitro.cloudflare.nodeCompat = true
9595
nuxt.options.nitro.cloudflare.deployConfig = true
9696
nuxt.options.nitro.cloudflare.wrangler = defu(nuxt.options.nitro.cloudflare.wrangler, {
97-
compatibility_flags: ['nodejs_compat_v2']
97+
compatibility_flags: ['nodejs_compat_v2'],
98+
no_bundle: true
9899
})
99100
// Remove trailing slash for prerender routes
100101
nuxt.options.nitro.prerender ||= {}

0 commit comments

Comments
 (0)