From 94dca111469aeea086c4d7b7767d2186c05916d4 Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Sat, 18 Jul 2026 21:49:49 +0200 Subject: [PATCH] build: include nostics in iife Fix #2755 --- packages/router/tsdown.config.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/router/tsdown.config.ts b/packages/router/tsdown.config.ts index 6626a6466..d1297e788 100644 --- a/packages/router/tsdown.config.ts +++ b/packages/router/tsdown.config.ts @@ -147,6 +147,11 @@ const iife = { __FEATURE_PROD_DEVTOOLS__: `false`, __STRIP_DEVTOOLS__: `true`, }, + deps: { + // left out in prod but not in regular build + alwaysBundle: ['nostics'], + neverBundle: ['vue', '@vue/devtools-api'], + }, } satisfies InlineConfig const iifeProd = { -- 2.47.3