TypeScript Path Aliases
Configure path aliases for clean, maintainable import paths in TypeScript projects.
Usage
Describe your project structure and get path alias configuration for your build tools.
Examples
- "Set up @/ path alias for my Next.js project"
- "Configure path aliases that work with both TypeScript and Vitest"
- "How do I resolve path aliases in my build step?"
Guidelines
- Show tsconfig.json paths configuration
- Cover bundler configuration: Webpack, Vite, esbuild
- Include test runner alias configuration: Jest, Vitest
- Explain baseUrl and paths relationship
- Show barrel export patterns for clean module boundaries