Chapter 113: TypeScript aliases
Core Idea
TypeScript path aliases are not resolved by default. Add the matching aliases to the shared bundler configuration to use them with Webpack or Rspack.
Key Concepts
- Automatically syncing Webpack and TypeScript aliases
- See also
Code Examples
└── src/
├── lib/
│ ├── one.ts
│ ├── two.ts
├── Root.tsx
└── index.ts
- What it demonstrates: Usage pattern for TypeScript aliases from the official docs.
Key Takeaways
- Understand automatically syncing webpack and typescript aliases when working with TypeScript aliases.
- Understand see also when working with TypeScript aliases.
Connects To
- Authoring Packages: related page in the CLI & Bundling section.
- Bundle: related page in the CLI & Bundling section.
- Bundler: related page in the CLI & Bundling section.