Rollup Plugin to automatically resolve path aliases set in the compilerOptions section of tsconfig.json.
MIT License
$
and ^
characters from path by @esdrasbrz in https://github.com/simonhaenisch/rollup-plugin-typescript-paths/pull/17
Full Changelog: https://github.com/simonhaenisch/rollup-plugin-typescript-paths/compare/v1.4.0...v1.5.0
Published by simonhaenisch about 2 years ago
A new option nonRelative
was added, that if enabled, resolves non-relative paths based on tsconfig's baseUrl
, even if none of the paths
are matched. It's opt-in (i.e. defaults to false
) to maintain backwards-compatibility.
For more details see #12.
Published by simonhaenisch over 2 years ago
Fixes accidental incorrect module resolution by this plugin, that would happen when an import was relative but a path alias was partially matching it, because the regex for the match was missing the caret. See #10 for details.
Published by simonhaenisch over 3 years ago
Added a new preserveExtensions
option for use with sucrase
(and potentially other build tools). See PR #9.
Thanks @Benjozork for the contribution! 🎉
Published by simonhaenisch over 3 years ago
Fixed an issue with comments in tsconfig.json
(see #7).
Published by simonhaenisch over 4 years ago
Thanks to @AndrewLeedham for the PR!
Published by simonhaenisch over 4 years ago
Rename the export to match the rollup naming convention (#1).
Thanks to @juliendargelos for the PR!
Published by simonhaenisch over 4 years ago
feat: add transform hook
fix: resolve as js path instead of ts
Published by simonhaenisch over 5 years ago
Published by simonhaenisch over 5 years ago
Published by simonhaenisch over 5 years ago
Initial version.