]> git.ipfire.org Git - thirdparty/vuejs/router.git/commitdiff
build: include nostics in iife main
authorEduardo San Martin Morote <posva13@gmail.com>
Sat, 18 Jul 2026 19:49:49 +0000 (21:49 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sat, 18 Jul 2026 19:49:49 +0000 (21:49 +0200)
Fix #2755

packages/router/tsdown.config.ts

index 6626a646673481c723a56343cde831c9a4c67195..d1297e7887f5a6948554609d0358c9ac6a5350c3 100644 (file)
@@ -147,6 +147,11 @@ const iife = {
     __FEATURE_PROD_DEVTOOLS__: `false`,
     __STRIP_DEVTOOLS__: `true`,
   },
     __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 = {
 } satisfies InlineConfig
 
 const iifeProd = {