From 5a325dd5f87bdf0e1b9c7b84afcd7f74d3973926 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 10 May 2026 12:44:38 +0000 Subject: [PATCH] fix(docs): externalize new padrone subpath entry points in astro config The docs build pulls in `@padrone/tasks-example`, which now imports `padrone/ink`. Vite's resolve.external list only had `padrone` and `padrone/zod`, so the build broke after the recent entry-point split. Add the new subpaths (ink, mcp, serve, tracing, completion, man) to keep them external during SSR bundling. --- docs/astro.config.mts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/astro.config.mts b/docs/astro.config.mts index eac8d80..85c6591 100644 --- a/docs/astro.config.mts +++ b/docs/astro.config.mts @@ -51,7 +51,16 @@ export default defineConfig({ vite: { plugins: [tailwindcss()], resolve: { - external: ['padrone', 'padrone/zod'], + external: [ + 'padrone', + 'padrone/zod', + 'padrone/ink', + 'padrone/mcp', + 'padrone/serve', + 'padrone/tracing', + 'padrone/completion', + 'padrone/man', + ], conditions: ['padrone@dev'], externalConditions: ['padrone@dev'], },