From c1d5c5d06bd999ae28f13520dbdf4fe980e71819 Mon Sep 17 00:00:00 2001 From: p-sw Date: Sat, 15 Jun 2024 01:44:06 +0900 Subject: [PATCH] refactor(cli): make config lib path to directory pattern --- packages/cli/src/const.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/cli/src/const.ts b/packages/cli/src/const.ts index 858ef86..350924d 100644 --- a/packages/cli/src/const.ts +++ b/packages/cli/src/const.ts @@ -36,7 +36,7 @@ export interface Config { */ paths?: { components?: 'src/pswui/components' | string - lib?: 'src/pswui/lib.tsx' | string + lib?: 'src/pswui/lib' | string } } export type ResolvedConfig = { @@ -49,7 +49,7 @@ export const DEFAULT_CONFIG = { }, paths: { components: 'src/pswui/components', - lib: 'src/pswui/lib.tsx', + lib: 'src/pswui/lib', }, } export const configZod = z.object({