/ts-import-rewriter

A wrapper around typescript to rewrite aliases in import statements according to compilerOptions

Primary LanguageTypeScriptMIT LicenseMIT

A wrapper around typescript compiler API that resolves and rewrites aliases in import statements.

It resolves module based on baseUrl and paths from a typescript config.