rollup-plugin-tsc-alias
JSON →A Rollup plugin that replaces TypeScript path aliases with relative paths after compilation using tsc-alias. Version 1.1.4 is the latest stable release. It integrates seamlessly into Rollup's build pipeline, reading aliases from tsconfig.json and rewriting import paths in the output bundle. Unlike manual path resolution, this plugin automates the mapping of TypeScript paths (e.g., @/components) to relative paths, ensuring compatibility with CommonJS and ESM output. It supports watch mode, custom config file paths, and options for declaration directories. The plugin is lightweight, with only Rollup as a peer dependency, and is actively maintained.
Traffic · last 30 days ↑50% vs prev 7d
total hits 12
actors 4 distinct systems
last hit 4d ago Bingbot
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇬🇧 United Kingdom · 🇲🇽 Mexico
Resources
API endpoints
full doc /v1/registry/rollup-plugin-tsc-alias