From 77d9d87d1c285b3050b64180d5cf802d222a8882 Mon Sep 17 00:00:00 2001 From: kyranjamie Date: Fri, 27 Sep 2024 15:40:49 +0200 Subject: [PATCH] fix(ui): types not bundled with package --- packages/ui/tsup.config.web.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/ui/tsup.config.web.ts b/packages/ui/tsup.config.web.ts index 96192794..6e1a10fe 100644 --- a/packages/ui/tsup.config.web.ts +++ b/packages/ui/tsup.config.web.ts @@ -22,7 +22,8 @@ export default defineConfig({ ], }), ], - onSuccess: 'panda cssgen --outfile dist-web/styles.css', + onSuccess: + 'panda cssgen --outfile dist-web/styles.css && tsc --build tsconfig.web.json --emitDeclarationOnly', format: ['esm'], tsconfig: 'tsconfig.web.json', outDir: 'dist-web',