We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
nodeCompat
1 parent 5fab003 commit 0c9eb8bCopy full SHA for 0c9eb8b
src/module.ts
@@ -100,6 +100,8 @@ export default defineNuxtModule<ModuleOptions>({
100
nuxt.options.nitro.cloudflare ||= {}
101
// @ts-expect-error noWranglerDeployConfig is not typed here
102
nuxt.options.nitro.cloudflare.noWranglerDeployConfig = true
103
+ // @ts-expect-error nodeCompat is not typed here
104
+ nuxt.options.nitro.cloudflare.nodeCompat = true
105
// For old versions of Nitro, disable generating the wrangler.toml file
106
delete nuxt.options.nitro.cloudflare?.wrangler?.compatibility_flags
107
if (nuxt.options.nitro.cloudflare?.wrangler && Object.keys(nuxt.options.nitro.cloudflare.wrangler).length) {
0 commit comments