Skip to content

Commit

Permalink
fix: respect configured componentIslands value (#273)
Browse files Browse the repository at this point in the history
  • Loading branch information
yassilah authored Oct 30, 2024
1 parent 967e26e commit 42e7d43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ export default defineNuxtModule<ModuleOptions>({
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({
Expand Down

0 comments on commit 42e7d43

Please sign in to comment.