From 37c250873cfd78d5a9f132b1b5fdc78d43942d21 Mon Sep 17 00:00:00 2001 From: Vivian Phung Date: Tue, 14 May 2024 13:07:32 -0400 Subject: [PATCH] resolve aliases --- packages/frontend/tsconfig.json | 3 ++- packages/frontend/vite.config.ts | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/frontend/tsconfig.json b/packages/frontend/tsconfig.json index e0ae2860..10167203 100644 --- a/packages/frontend/tsconfig.json +++ b/packages/frontend/tsconfig.json @@ -27,7 +27,8 @@ "utils/*": ["./src/utils/*"], "assets/*": ["./src/assets/*"], "context/*": ["./src/context/*"], - "components/*": ["./src/components/*"] + "components/*": ["./src/components/*"], + "pages/*": ["./src/pages/*"] } }, "include": ["src"], diff --git a/packages/frontend/vite.config.ts b/packages/frontend/vite.config.ts index 6f58d61c..d9bb608b 100644 --- a/packages/frontend/vite.config.ts +++ b/packages/frontend/vite.config.ts @@ -10,6 +10,8 @@ export default defineConfig({ assets: '/src/assets', context: '/src/context', components: '/src/components', + pages: '/src/pages', + types: '/src/types', }, }, define: {