From e7993b91b45169c478a82b25e89544011a5ba6f4 Mon Sep 17 00:00:00 2001 From: Luke Nelson Date: Sun, 18 Oct 2026 00:15:38 +0100 Subject: [PATCH] fix(ipx): import NitroRuntimeConfig from nitropack/types The bare `nitropack` entry re-exports a deprecated NitroRuntimeConfig. Import the type from the `nitropack/types` subpath in the legacy IPX handler instead. --- src/runtime/server/routes/_ipx.legacy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/server/routes/_ipx.legacy.ts b/src/runtime/server/routes/_ipx.legacy.ts index d10208803..7d95977e0 100644 --- a/src/runtime/server/routes/_ipx.legacy.ts +++ b/src/runtime/server/routes/_ipx.legacy.ts @@ -5,7 +5,7 @@ import type { IPXOptions } from 'ipx' import type { NodeListener } from 'h3' import { lazyEventHandler, fromNodeMiddleware } from 'h3' import { isAbsolute } from 'pathe' -import type { NitroRuntimeConfig } from 'nitropack' +import type { NitroRuntimeConfig } from 'nitropack/types' import { useRuntimeConfig } from 'nitropack/runtime'