LeDDGroup / typescript-transform-paths

Transforms module resolution paths using TypeScript path mapping and/or custom paths
MIT License
465 stars 22 forks source link

Feature Request: Support non ts/tsx files like .css, .scss, .svg, .png, etc #189

Open siosphere opened 1 month ago

siosphere commented 1 month ago

We use static assets extensively, importing css modules, images, svgs, etc.

None of those paths are transformed with this library, even with modules being declared appropriately.

It would be nice if all imports would properly be transformed to relative