From 65ae8b25d95a2a31e075c1632ff0065783008d51 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Wed, 9 Oct 2024 17:22:30 +0200 Subject: [PATCH] fix: force boolean --- packages/nuxt/src/pages/module.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nuxt/src/pages/module.ts b/packages/nuxt/src/pages/module.ts index cce4c8681f..b786eb43d4 100644 --- a/packages/nuxt/src/pages/module.ts +++ b/packages/nuxt/src/pages/module.ts @@ -498,7 +498,7 @@ export default defineNuxtModule({ const { routes, imports } = normalizeRoutes(app.pages, new Set(), { serverComponentRuntime, clientComponentRuntime, - overrideMeta: nuxt.options.experimental.scanPageMeta, + overrideMeta: !!nuxt.options.experimental.scanPageMeta, }) return [...imports, `export default ${routes}`].join('\n') },