Skip to content

Commit 42e7d43

Browse files
authoredOct 30, 2024··
fix: respect configured componentIslands value (#273)
1 parent 967e26e commit 42e7d43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/module.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ export default defineNuxtModule<ModuleOptions>({
375375
nuxt.options.nitro.serverAssets!.push({ baseName: 'nuxt-og-image:fonts', dir: serverFontsDir })
376376
}
377377

378-
nuxt.options.experimental.componentIslands = true
378+
nuxt.options.experimental.componentIslands ||= true
379379

380380
const basePath = config.zeroRuntime ? './runtime/nitro/routes/__zero-runtime' : './runtime/nitro/routes'
381381
addServerHandler({

0 commit comments

Comments
 (0)
Please sign in to comment.