From 511b778fd04312673997b7da9487458a609dd881 Mon Sep 17 00:00:00 2001 From: p-sw Date: Tue, 11 Jun 2024 17:45:33 +0900 Subject: [PATCH] refactor(react): change path of pswui-lib in vite and tsconfig The paths were updated for the alias '@pswui-lib' in both vite.config.ts and tsconfig.json files. The new path now points to 'lib.tsx' from 'lib'. --- packages/react/tsconfig.json | 2 +- packages/react/vite.config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index d6afc07..90d4d94 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -25,7 +25,7 @@ "paths": { "@components/*": ["components/*"], "@/*": ["src/*"], - "@pswui-lib/*": ["lib/*"] + "@pswui-lib": ["lib.tsx"] } }, "include": ["components", "src", "lib"], diff --git a/packages/react/vite.config.ts b/packages/react/vite.config.ts index c031216..9c5272a 100644 --- a/packages/react/vite.config.ts +++ b/packages/react/vite.config.ts @@ -28,7 +28,7 @@ export default defineConfig({ alias: { "@components": resolve(__dirname, "./components"), "@": resolve(__dirname, "./src"), - "@pswui-lib": resolve(__dirname, "./lib"), + "@pswui-lib": resolve(__dirname, "./lib.tsx"), }, }, });