rollup-plugin-alias is a Rollup plugin enabling flexible module resolution by creating aliases for import paths. This simplifies refactoring and allows you to map shorter, more readable paths to complex module locations. It's particularly useful for managing dependencies, referencing local files, and customizing library imports within your Rollup configuration. By defining aliases, you gain finer control over how Rollup resolves modules, leading to cleaner code and easier maintenance of your project structure.
As of September 11, 2025, rollup-plugin-alias hasn't had a new release in nearly six years. The last version was published in October 2019. The package saw its most active period in 2016 and 2019 with sporadic releases in 2017 and 2018. The initial versions were released in 2016.
Rollup-plugin-alias downloads show a fluctuating trend. From March 2024 to August 2025, numbers generally increased. There was a significant spike in November 2024 and a large peak in July 2025. September 2025 is incomplete and shows a sharp decrease likely due to the month not being finished.