TypeStrong / ts-loader

TypeScript loader for webpack
https://johnnyreilly.com/ts-loader-goes-webpack-5
MIT License
3.44k stars 429 forks source link

Add native support for tsconfig `compilerOptions.paths` #1642

Open SkReD opened 6 months ago

SkReD commented 6 months ago

Expected Behaviour

Output js should contain transpiled import paths according to compilerOptions.paths config. This behaviour will be in sync with how babel handles that with its plugin and also more expected then current behaviour.

Actual Behaviour

Import paths not replaced and additional plugin is needed to replace them