diff --git a/packages/react/tsconfig.json b/packages/react/tsconfig.json index 0151b86..284d90f 100644 --- a/packages/react/tsconfig.json +++ b/packages/react/tsconfig.json @@ -24,6 +24,7 @@ "baseUrl": "./", "paths": { "@components/*": ["components/*"], + "@/*": ["src/*"] } }, "include": ["components", "src"], diff --git a/packages/react/vite.config.ts b/packages/react/vite.config.ts index b2cd1a5..4dc28cf 100644 --- a/packages/react/vite.config.ts +++ b/packages/react/vite.config.ts @@ -16,6 +16,7 @@ export default defineConfig({ resolve: { alias: { '@components': resolve(__dirname, './components'), + '@': resolve(__dirname, './src'), } } });