From 42e7d434ea5f17884b68807fd0c6897ef7dc9b36 Mon Sep 17 00:00:00 2001 From: Yasser Lahbibi Date: Wed, 30 Oct 2024 04:45:52 +0100 Subject: [PATCH] fix: respect configured `componentIslands` value (#273) --- src/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/module.ts b/src/module.ts index 1df84450..80904355 100644 --- a/src/module.ts +++ b/src/module.ts @@ -375,7 +375,7 @@ export default defineNuxtModule({ nuxt.options.nitro.serverAssets!.push({ baseName: 'nuxt-og-image:fonts', dir: serverFontsDir }) } - nuxt.options.experimental.componentIslands = true + nuxt.options.experimental.componentIslands ||= true const basePath = config.zeroRuntime ? './runtime/nitro/routes/__zero-runtime' : './runtime/nitro/routes' addServerHandler({